Exploring Machine Learning-Derived Data in Life Sciences with Shiny Applications

Estimated time:
time
min

Machine learning (ML) is gaining widespread popularity in the life sciences. Crafting intuitive user interfaces speeds up data exploration and offers modernized ways to present analyses and outcomes from various ML models. For quite some time, R Shiny has been the go-to choice for researchers looking to create <a href="https://explore.appsilon.com/" target="_blank" rel="noopener">top-notch visualizations</a>, effectively aiding in understanding the insights generated from applying machine learning to burgeoning healthcare datasets. Let's take a look at a few impressive R Shiny applications that seamlessly incorporate machine learning and help explore data derived from applying machine learning algorithms. These applications provide great value in the following biomedical fields: <ol><li style="font-weight: 400;" aria-level="1"><a href="#oncology"><b>shinyDeepDR</b>: Precision Oncology</a></li><li style="font-weight: 400;" aria-level="1"><a href="#sythentic-lethality"><b>Paris app</b>: Identification of synthetic lethality</a></li><li style="font-weight: 400;" aria-level="1"><a href="#drug-target"><b>Netpredictor</b>: Drug target network analysis</a></li><li style="font-weight: 400;" aria-level="1"><a href="#miRNAs"><b>PSRR</b>: Small molecules-MicroRNAs (miRNAs) regulation pairs prediction</a></li><li style="font-weight: 400;" aria-level="1"><a href="#OMICS"><b>OposSOM-Browser</b>: ML based interactive exploration of OMICS data</a></li><li style="font-weight: 400;" aria-level="1"><a href="#protein-degraders"><b>MAPD_Shiny</b>: Protein degraders targets identification</a></li><li style="font-weight: 400;" aria-level="1"><a href="#CANDI"><b>CANDI</b>: Enhancing Radiographic Annotation and Diagnosis</a></li></ol> These examples showcase how Shiny applications can accelerate the integration of machine learning into life sciences. <h2 id="oncology">Unlocking Precision Oncology with R Shiny and Machine Learning</h2> <a href="https://shiny.crc.pitt.edu/shinydeepdr/#" target="_blank" rel="noopener">shinyDeepDR</a>: A user-friendly R Shiny app for predicting drug response of cancer using deep learning. <img class="aligncenter size-full wp-image-20651" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a8da74e9688607342e7_shinyDeepDR-Deep-Learning-in-Cancer-Drug-Response-Shiny-app.webp" alt="shinyDeepDR Deep Learning in Cancer Drug Response Shiny app" width="928" height="599" /> This application allowed researchers to make their machine learning model (DeepDR) <a href="https://aacrjournals.org/cancerres/article/83/7_Supplement/2094/721569/Abstract-2094-A-user-friendly-R-Shiny-app-for" target="_blank" rel="noopener">more accessible to biomedical researchers with limited programming skills</a>. In this application, users can upload mutation and gene expression profiles of a cancer sample and predict the cell or tumor response to 265 FDA approved and investigational compounds covered by the GDSC (Genomics of Drug Sensitivity in Cancer) project.  Also, you can visualize, search, and filter prediction results from 265 compounds; perform downstream analyses such as statistical tests and link the compounds to different databases, including PubChem. <img class="aligncenter size-full wp-image-20639" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a8d9566d0143c011359_machine-learning-and-shiny-connecting-to-life-sciences-databases.webp" alt="machine learning and shiny connecting to life sciences databases" width="525" height="300" /> Their model helped to predict tumors’ drug response by considering multiple baseline profiles of mutations and gene expression of one cancer cell or tumor. This model contains 3 deep neural networks (DNNs): <ol><li style="font-weight: 400;" aria-level="1">A mutation encoder pre-trained using a large pan-cancer dataset (The Cancer Genome Atlas; TCGA)</li><li style="font-weight: 400;" aria-level="1">A pre-trained expression encoder</li><li style="font-weight: 400;" aria-level="1">A drug response predictor network integrating the first two subnetworks</li></ol> This <a href="https://bmcmedgenomics.biomedcentral.com/articles/10.1186/s12920-018-0460-9" target="_blank" rel="noopener">research was published in 2019</a> and was the first DNN model to translate pharmacogenomics features generated from in vitro screening to help predict the response of tumors. <h2 id="sythentic-lethality">Machine Learning in Shiny Apps for Identification of Synthetic Lethality (SL)</h2> PARIS (PAn-canceR Inferred Synthetic lethalities) is <a href="https://molecular-cancer.biomedcentral.com/articles/10.1186/s12943-021-01405-8" target="_blank" rel="noopener">a machine learning approach to identify synthetic lethality (SL), a cancer vulnerability</a>. Synthetic lethality occurs when a genetic interaction between two perturbations leads to cell death. This approach combines CRISPR viability screens with genomics and transcriptomics data from the Cancer Dependency Map.  Two Shiny applications were developed to intuitively browse and visualize the complex data, allowing users to filter gene pairs, cohorts (mutation and/or expression), applying thresholds, selecting different importance score methods (Gini, permutation raw, corrected Gini) and provides a filtering step based on the Pearson correlation coefficient.  The two apps can be found here: <a href="https://github.com/sbenfatto/PARIS_DDR_vs_DDR" target="_blank" rel="noopener">PARIS_DDR_vs_DDR</a>: A Shiny App to visualize cancer vulnerabilities predicted by PARIS among DNA Damage Repair genes.  <img class="aligncenter size-full wp-image-20643" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a8e54f61b84815cdde8_Machine-Learning-in-Shiny-Apps-for-Identification-of-Synthetic-Lethality-SL-Gini.webp" alt="Machine Learning in Shiny Apps for Identification of Synthetic Lethality (SL) Gini" width="941" height="600" /> <a href="https://github.com/sbenfatto/PARIS_DDR_vs_ALL">PARIS_DDR_vs_ALL</a>: A Shiny App to visualize cancer vulnerabilities predicted by PARIS between DNA Damage Repair genes and the entire genome. <img class="aligncenter size-full wp-image-20645" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a8f299b8d6d84264d4e_Machine-Learning-in-Shiny-Apps-for-Identification-of-Synthetic-Lethality-SL-Permutation-Raw.webp" alt="Machine Learning in Shiny Apps for Identification of Synthetic Lethality (SL) Permutation Raw" width="908" height="600" /> <h3>Shiny App Discoveries</h3> First, the algorithm was used to discover cancer vulnerabilities among known DNA damage repair (DDR) genes and later to search for new SL pairs in the entire genome.  Ultimately, the Shiny app allowed them to easily browse through the precomputed SL networks and navigate the data by applying relevant filters.  This application helped to identify a previously uncharacterized vulnerability of CDKN2A-deficient cells to TYMS depletion and to identify a dependency between the aldehyde dehydrogenase ALDH2 and the BRCA-interacting protein BRIP1. Their results suggested that <a href="https://molecular-cancer.biomedcentral.com/articles/10.1186/s12943-021-01405-8" target="_blank" rel="noopener">BRIP1 could be a potential therapeutic target in approx. 30% of all tumors that express low levels of ALDH2</a>. <h2 id="drug-target">Enhancing Drug Target Network Analysis with Shiny and Machine Learning</h2> <a href="https://github.com/abhik1368/Shiny_NetPredictor" target="_blank" rel="noopener">Netpredictor</a>: A Shiny application capable of performing <a href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-018-2254-7" target="_blank" rel="noopener">drug-target network analysis and prediction of missing links</a>. Identifying these missing links between drugs and their targets offers insights into other effects, such as polypharmacology and off-target effects of chemical compounds in complex biological systems. The Shiny application is available on <a href="https://github.com/abhik1368/Shiny_NetPredictor" target="_blank" rel="noopener">github</a>. <img class="aligncenter size-full wp-image-20635" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a9199f2296f27b2df72_Drug-Target-Network-Analysis-with-Shiny-and-Machine-Learning.webp" alt="Drug Target Network Analysis with Shiny and Machine Learning" width="1068" height="600" /> <h3>Shiny Results</h3> The R Shiny web application here uses a <a href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-018-2254-7" target="_blank" rel="noopener">simple intuitive user interface with dynamic filters and real-time exploratory analysis</a>. The creators integrated additional R packages, Javascript libraries and CSS for further customization. This application assists users in searching for the top-K shortest paths between interactome and user enrichment analysis for disease, pathways, and ontologies. Both the R package and the Shiny app are available under the GPL-2 open-source license and are freely available to download. The creators of this Shiny application concluded that such a rapid development environment helps researchers without a programming background to quickly develop rich visualizations. Furthermore, they plan to update the algorithms in the package in the near future, continuing to support scientists with more streamlined data analysis. <h2 id="miRNAs">Shiny and ML for Small Molecules-MicroRNAs (miRNAs) Regulation Pairs Prediction</h2> <a href="https://rnadrug.shinyapps.io/PSRR/" target="_blank" rel="noopener">PSRR</a>: The {PSRR} (Prediction of SM-miRNA Regulation pairs) is a Shiny application that facilitates the rapid prediction of the regulation between MicroRNAs (miRNAs) and small molecules by diverse developed models that use machine learning. This is a free, publicly available web-based Shiny application. <img class="aligncenter size-full wp-image-20649" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a929ae3b5ffcdb2dcbc_Shiny-and-ML-for-Small-Molecules-MicroRNAs-miRNAs-Regulation-Pairs-Prediction.webp" alt="Shiny and ML for Small Molecules-MicroRNAs (miRNAs) Regulation Pairs Prediction" width="768" height="600" /> <h3>Open Source Impact</h3> Predicting the regulation between these two elements could achieve implications for identifying potential therapeutic targets for anti-tumor drug development. Given the nature of miRNAs to interact with their specific target (mRNAs) for translation repression, <a href="https://www.frontiersin.org/articles/10.3389/fmolb.2022.817294/full" target="_blank" rel="noopener">they might function as oncogenes (oncomiRs) or tumor suppressors (TSmiRs)</a>. By applying a random forest algorithm, they were able to outperform four machine learning algorithms by achieving AUC values of 0.911 for the up-regulation model and 0.896 for the down-regulation model on testing datasets. Their down-regulation and up-regulation models yielded accuracy values of 0.91 and 0.90 on independent validation pairs. When they tested their model in a case study, <a href="https://www.frontiersin.org/articles/10.3389/fmolb.2022.817294/full" target="_blank" rel="noopener">their model showed highly-reliable results by confirming all top 10 predicted regulation pairs as experimentally validated pairs</a>. They made available the predictions of the final model through the <a href="https://rnadrug.shinyapps.io/PSRR/" target="_blank" rel="noopener">PSRR web server application</a>. <h2 id="OMICS">Interactive Exploration of OMICS Data with a Shiny Application</h2> <a href="http://www.izbi.uni-leipzig.de/opossom-browser" target="_blank" rel="noopener">oposSOM-Browser</a>: This Shiny application is a novel tool that provides interactive exploration of high-dimensional omics data and associated phenotypes. It is comprehensive and provides machine learning based open-source data analysis capabilities by combining functionalities such as <a href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-020-03806-w" target="_blank" rel="noopener">diversity analysis, biomarker selection, function mining, etc</a>. <img class="aligncenter size-full wp-image-20637" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a9344295a0f3320ac85_Interactive-Exploration-of-OMICS-Data-with-a-Shiny-Application.webp" alt="Interactive Exploration of OMICS Data with a Shiny Application" width="1363" height="600" /> <h3>Interactive Data</h3> The oposSOM-Browser facilitates interactive exploration of individual gene and gene set profiles, molecular "portrait landscapes," linked phenotype diversity, and activation patterns within signaling pathways. The data that is available in this browser consists of five transcriptome data sets of cancer <a href="https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-020-03806-w" target="_blank" rel="noopener">(melanomas, B-cell lymphomas, gliomas) and peripheral blood (sepsis and healthy individuals)</a>. The application is available on the 'Leipzig Health Atlas,' a collaborative platform for sharing publications, biomedical data, models, and software tools in health research. <h2 id="protein-degraders">Protein Degraders Targets Identification R Shiny Application</h2> <a href="https://github.com/WubingZhang/MAPD_Shiny" target="_blank" rel="noopener">MAPD_Shiny</a>: This Shiny app incorporates protein-intrinsic features, MAPD (Model-based Analysis of Protein Degradability) predictions, E2 accessibility of ubiquitination sites, ligandability, and disease associates, which aids researchers to select rational targets for further development of protein degraders. <img class="aligncenter size-full wp-image-20647" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a9510698cdbd6bd1857_Protein-Degraders-Targets-Identification-R-Shiny-Application.webp" alt="Protein Degraders Targets Identification R Shiny Application" width="1076" height="600" /> <h3>Solving Problems with R and Shiny</h3> Targeted protein degradation (TPD) has swiftly emerged as a treatment approach to eliminate previously intractable proteins by leveraging the cell's innate protein degradation mechanisms. Nonetheless, the creation of TPD compounds predominantly relies on trial-and-error methodologies. Recent comprehensive TPD investigations into the kinome have unveiled significant degradation variations among kinases, even with comparable drug-target interactions, implying the presence of unexplained factors influencing degradability. To solve these problems, researchers at Harvard (Wubing Zhang and X. Shirley Liu) developed a machine learning model (MAPD) to predict protein degradability from protein features such as post-translational modifications, protein stability, protein expression and protein-protein interactions. They created <a href="https://github.com/WubingZhang/MAPD_Shiny">an interactive web platform to enable the prioritization of degradable proteins by scientists and the public</a>. <h2 id="CANDI">Combining Machine Learning and R Shiny in Enhancing Radiographic Annotation and Diagnosis</h2> <a href="https://github.com/mbadge/candi" target="_blank" rel="noopener">CANDI</a>: CANDI-RAD (Computer-Aided Note and Diagnosis Interface radiograph annotation dashboard) and CANDI-CAD (Computer-Aided Note and Diagnosis Interface Computer-Aided Diagnosis) Shiny applications were developed for <a href="https://academic.oup.com/bioinformatics/article/35/9/1610/5126235" target="_blank" rel="noopener">annotating radiographs and evaluating computer-aided diagnosis</a>. <img class="aligncenter size-full wp-image-20641" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01a95896db1a9fcbc5727_machine-learning-annotation-of-radiographs-using-r-shiny.webp" alt="machine learning annotation of radiographs using r shiny" width="884" height="381" /> <h3>Deep Learning, Shiny, and Open Access Research</h3> The researchers identified the need for decision systems that use deep learning. Deep learning offers superior performance but it requires more training data. The algorithms that are currently used are not very effective in improving radiologists interpretations, even when such algorithms for Computer-Aided Diagnosis (CAD) have been used for decades.  The <a href="https://academic.oup.com/bioinformatics/article/35/9/1610/5126235" target="_blank" rel="noopener">CANDI-RAD</a> application provides multimodal patient and image data to obtain training and testing data. Additionally, it serves as an evaluation application facilitating randomized controlled trials (RCTs) on human enhancement with algorithms. The manuscript that presents these two open access CANDI web applications for collaboratively addressing the annotation and evaluation barrier to translating Deep Learning. CANDI allows for a collaborative annotation of radiographs and helps evaluate how algorithms alter human interpretation. This application collects classification, segmentation, and image captioning training data; the evaluation app randomizes the availability of CAD tools that<a href="https://academic.oup.com/bioinformatics/article/35/9/1610/5126235" target="_blank" rel="noopener"> facilitate clinical trials in the field of radiology</a>. <h2>Discover Appsilon's Machine Learning Solutions</h2> As your trusted technology partner in the life sciences, Appsilon collaborates closely with your team to accelerate groundbreaking discoveries through the application of machine learning and advanced exploration software. Our dedicated team is ready to help you explore your data with innovative tools and modern technologies. Together, we can drive innovation that transforms lives.

Contact us!
Damian's Avatar
Damian Rodziewicz
Head of Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Have questions or insights?
Engage with experts, share ideas and take your data journey to the next level!
Join Slack
Explore Possibilities

Take Your Business Further with Custom Data Solutions

Unlock the full potential of your enterprise with our data services, tailored to the unique needs of Fortune 500 companies. Elevate your strategy—connect with us today!

Talk to our Experts
r
shiny
life sciences
ai&research