R Shiny in Life Sciences - Top 7 Dashboard Examples

By:
Dario Radečić
March 29, 2022

Explore 7 exciting examples of <strong>R Shiny dashboards in the life sciences!</strong> R Shiny is one of the easiest ways for developers to make <strong>production-ready dashboards</strong> when speed and functionality are crucial.

<strong>Shiny is approachable</strong> with a lot of documentation available, and because of this, a lot of developers/researchers with non-coding backgrounds are able to produce some <strong>impressive results</strong>. The whole ecosystem is easy to get your head around and pretty much limitless with regard to what you can do.
<h2>2023 Shiny in Life Sciences Update:</h2>
Since 2022, a lot has happened in the world of Shiny and the Life Sciences. Things move fast, and adoption of R Shiny (and now Python for Shiny) is ramping up. With this in mind, we've added a few more Shiny examples from our Life Sciences collection. However, many new apps and dashboards are constantly emerging, and we strive to publish the most unique and exciting ones in the <a href="https://appsilon.com/shiny-weekly-announcement/" target="_blank" rel="noopener">Shiny Weekly Newsletter</a> - so be sure to subscribe!

We've kept the original 7 apps shown below, but added a few more at the top of the list:
<ul><li><a href="#dashboard-8">RConsortium's FDA Pilot 2 - Rewritten in Rhino</a></li><li><a href="#dashboard-9">Shiny Gosling - Genomics Data Visualizations</a></li><li><a href="#dashboard-10">Drug Interactions Exploration Tool</a></li><li><a href="#dashboard-11">DrawCell - Cell Illustrations Simplified</a></li></ul>
The dashboards you’ll see span from analyzing insect ecology to interpreting MRI images and everything in between. Continue below to see examples of how interactive Shiny dashboards can be used in your field.
<blockquote><strong>Stuck in a Python vs R analysis paralysis? Read our take on</strong> <a href="https://appsilon.com/dash-vs-shiny/"><strong>Python Dash vs R Shiny</strong></a>.</blockquote>
Here’s a list of the top 7 dashboards made with R Shiny in life sciences:
<ul><li><a href="#dashboard-1">RStudio: Covid-19 Tracker</a></li><li><a href="#dashboard-2">RStudio: Genome Browser</a></li><li><a href="#dashboard-3">RStudio: ShinyMRI</a></li><li><a href="#dashboard-4">Appsilon: Bee Colonies</a></li><li><a href="#dashboard-5">FielDHub: Designing Experiments in R Shiny</a></li><li><a href="#dashboard-6">CSBB: Computational Suite for Bioinformaticians and Biologists</a></li><li><a href="#dashboard-7">GraphBio: Visualization Analysis for Omics Data</a></li></ul>

<hr />

<h2>2023 Shiny Apps and Dashboard Examples in the Life Sciences</h2>
<h3 id="dashboard-8">RConsortium's FDA Pilot 2 - Rewritten in Rhino</h3>
<a href="https://connect.appsilon.com/rhino-fda-pilot/" target="_blank" rel="noopener">The FDA Pilot 2 Rhino rewrite</a> features the <a href="https://www.r-consortium.org/" target="_blank" rel="noopener">RConsortium</a> Submissions Working Group's Pilot 2 app, which was successfully submited in 2023! The Shiny app, built with teal modules, demonstrates clinical trial data analysis and visualization and originally used Golem.

For the rebuild, we chose <a href="https://rhinoverse.dev/#rhino" target="_blank" rel="noopener">Rhino</a>, an enterprise-level framework, supports clear code, comprehensive testing, and automation, making it well-suited for highly regulated environments and drug development processes.

<img class="aligncenter size-full wp-image-20190" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e73c37dda6258e56acf_FDA-eCTD-Compliant-R-Shiny-Rhino-Pilot-2-Rewrite.webp" alt="FDA-eCTD-Compliant-R-Shiny-Rhino-Pilot-2-Rewrite" width="1920" height="1500" />

A lot has progressed with Rhino over the past year. <a href="https://appsilon.com/rhino-1-4-0/" target="_blank" rel="noopener">Rhino 1.4.0 was recently updated on CRAN</a>, with streamlined dependency management, React support, improved Box modules, and more! There's also a growing <a href="https://appsilon.com/tag/rhino/" target="_blank" rel="noopener">list of helpful Rhino guides and tutorials</a>. You can now lead your team into production grade app development - without needing to be a Full Stack Developer!
<h3 id="dashboard-9">Shiny Gosling - Genomics Data Visualizations</h3>
<a href="https://connect.appsilon.com/shiny-gosling/" target="_blank" rel="noopener">Shiny Gosling</a> demonstrates the features of Gosling.js made available in R Shiny by the <a href="https://appsilon.github.io/shiny.gosling/" target="_blank" rel="noopener">shiny.gosling package</a>. Users can now access scalable and interactive genomics data visualizations in their Shiny apps and dashboards!

From compositive visualizations like gene and transcript annotations to interactive visualizations like multi-track apps and circular encoding of genes.

<img class="aligncenter size-full wp-image-20192" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7431cb3f392105ce74_Shiny-Gosling-R-Shiny-Genomics-Visualizations.webp" alt="Shiny-Gosling-R-Shiny-Genomics-Visualizations" width="1920" height="1500" />

Looking for more R Shiny packages in the realm of drug discovery? We've recently released the <a href="https://appsilon.github.io/shiny.molstar/">shiny.molstar package</a>, an R Shiny wrapper for Mol* (/’molstar/) - A visualization toolkit of large-scale molecular data. See how you can start with our <a href="https://appsilon.com/shiny-molstar-r-package-molecular-structures-visualizations/" target="_blank" rel="noopener">introduction to molecular visualization and analysis with shiny.molstar</a>.
<h3 id="dashboard-10">Drug Interactions Exploration Tool</h3>
The Drug Interactions Exploration Tool in Shiny is a valuable web application that utilizes an extensive online database to identify potential adverse effects related to drug combinations. This Shiny app serves as a valuable resource for healthcare professionals, researchers, and patients seeking to understand the risks associated with different drug interactions.

<img class="aligncenter size-full wp-image-20194" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e766d8f975c081f4475_Drug-Interactions-Database-Search-R-Shiny-Application.webp" alt="Drug Interactions Database Search R Shiny Application" width="1920" height="1500" />

Developed using the Rhino package, the app offers modular code, SASS support, automation, testing, and a clean interface, streamlining the process of connecting with external drug databases for comprehensive drug interaction information.
<h3 id="dashboard-11">DrawCell - Cell Illustrations Simplified</h3>
The DrawCell Shiny Application, powered by the <a href="https://github.com/svalvaro/drawCell" target="_blank" rel="noopener">drawCell package</a>, offers a user-friendly and engaging solution for life sciences educators, students, and researchers. Whether you need interactive cell diagrams for teaching or to streamline data visualization, DrawCell has you covered. Created by lead developer Álvaro Sánchez, this versatile tool has the potential to make a significant impact in biology education, enabling accessible research and knowledge sharing.

<img class="aligncenter size-full wp-image-20186" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e76cf125ca98b88329d_DrawCell-Life-Sciences-Biology-Shiny-Application.webp" alt="DrawCell-Life-Sciences-Cell-Biology-Illustrations-Shiny-Application" width="1920" height="1500" />

Learn more about DrawCell with Álvaro Sánchez, the co-creator of the drawCell package and Shiny application in <a href="https://www.youtube.com/watch?v=X0gku6K03N0" target="_blank" rel="noopener">his recent interview</a>.

<hr />

<h2>2022 Shiny Dashboard Examples in Life Sciences</h2>
<h3 id="dashboard-1">RStudio: Covid-19 Tracker</h3>
It’s near impossible to list the best dashboards made with R Shiny in life sciences without mentioning Covid-19. The dashboard made by RStudio shows daily updates on the number of cases and deaths among 199 countries.

<img class="size-full wp-image-11646" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e779722a2d259a26937_rstudio-covid-19-tracker-life-science-dashboard.webp" alt="Image 1 - Covid-19 Tracker dashboard by RStudio" width="2878" height="2312" /> Image 1 - Covid-19 Tracker dashboard by RStudio

The dashboard allows its end-users (citizens, researchers, government officials) to keep track of the pandemic stats from the very beginning (Jan 22, 2022). It has a section including an interactive world map, region plots (cases in regions of interest), and much more.

There are thousands or even tens of thousands of Covid-19 dashboards out there, so what makes this one unique? Well, it’s built with R Shiny, it’s free to access, and has the source code available on GitHub.

Learn more:
<ul><li><a href="https://vac-lshtm.shinyapps.io/ncov_tracker/" target="_blank" rel="noopener noreferrer">View the Covid-19 Tracker dashboard</a></li><li><a href="https://github.com/eparker12/nCoV_tracker" target="_blank" rel="noopener noreferrer">Source code</a></li></ul>
<h3 id="dashboard-2">RStudio: Genome Browser</h3>
This dashboard shows a visualization based on <em>Circos</em>, which is a way of visualizing whole genomes. It uses pancreatic adenocarcinoma tumor samples data from various donors, provided by ICGN.

<img class="size-full wp-image-11648" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e78e4bb5dd953275329_rstudio-genome-browser-dashboard.webp" alt="Image 2 - Genome Browser dashboard by RStudio" width="2928" height="2224" /> Image 2 - Genome Browser dashboard by RStudio

If you’re not familiar with the Circos-style plot, here’s a crash course. It shows several layers, starting from the outer one representing color and size distinguished chromosomes, moving clockwise from chromosome 1 to 22, then X and Y. Inside the ring, you can see a line representation of copy number mutations.

The dashboard serves researchers in the area of genomics and bioinformatics to make sense of complex data. It’s not the most useful dashboard for people without advanced domain knowledge.

Learn more:
<ul><li><a href="https://gallery.shinyapps.io/genome_browser/" target="_blank" rel="noopener noreferrer">View the Genome Browser dashboard</a></li><li><a href="https://github.com/rstudio/shiny-gallery/tree/master/genome-browser" target="_blank" rel="noopener noreferrer">Source code</a></li></ul>
<h3 id="dashboard-3">RStudio: ShinyMRI</h3>
The ShinyMRI dashboard visualizes 3D MRI images and is made entirely with R Shiny. It was also recognized as an honorable mention in the 2019 Shiny Contest.

<img class="size-full wp-image-11650" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7944295a0f33238453_rstudio-shinyMRI-healthcare-dashboard.webp" alt="Image 3 - ShinyMRI dashboard by RStudio" width="2700" height="2272" /> Image 3 - ShinyMRI dashboard by RStudio

What makes this dashboard unique is the ability to upload your own files, either in <code>.nii</code> or <code>.nii.gz</code> format. That functionality makes the dashboard extremely useful for medical professionals. Sure, it’s in a PoC state now, but a little tweaking and added functionality could take it a long way.

Learn more:
<ul><li><a href="https://haozhu233.shinyapps.io/shinyMRI-contest/" target="_blank" rel="noopener noreferrer">View the ShinyMRI dashboard</a></li><li><a href="https://github.com/hebrewseniorlife/shinyMRI-contest" target="_blank" rel="noopener noreferrer">Source code</a></li></ul>
<h3 id="dashboard-4">Appsilon: Bee Colonies</h3>
The Bee Colonies dashboard was made by R/Shiny Developer, Ryszard Szymański,  in one day. You’re reading that right - you can build Shiny dashboards that fast.

<img class="size-full wp-image-11636" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7b965eadfe4148624a_appsilon-bee-colony-ecology-life-sciences-dashboard.webp" alt="Image 4 - Appsilon’s Bee Colonies dashboard" width="2794" height="2206" /> Image 4 - Appsilon’s Bee Colonies dashboard

The dashboard shows stressors affecting bee colonies (diseases, pesticides, and others) in different US states for a given period. It also shows you how many bee colonies were lost and added in a given year, ranging from 2015 to 2021.

It helps decision-makers to early detect potential problems of adding bee colonies to one location instead of the other.

Learn more:
<ul><li><a href="https://demo.prod.appsilon.ai/bee-colony/" target="_blank" rel="noopener noreferrer">View the Bee Colonies dashboard</a></li><li><a href="https://github.com/szymanskir/bee_colony_losses" target="_blank" rel="noopener noreferrer">Source code</a></li></ul>
<h3 id="dashboard-5">FielDHub: Designing Experiments in R Shiny</h3>
The FielDHub dashboard by North Dakota State University helps in the creation of traditional, un-replicated, augmented, and partially-replicated designs applied to agriculture, plant breeding, forestry, animal, and biological sciences.

<img class="size-full wp-image-11640" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7cd517f40429335a91_FielDHub-experiment-design-life-science-dashboard.webp" alt="Image 5 - FielDHub dashboard" width="2868" height="2210" /> Image 5 - FielDHub dashboard

If you want to test the dashboard, you’ll have to install it first. It’s assumed you have R and RStudio configured - from there, there’s only one package to install:

<script src="https://gist.github.com/darioappsilon/bc67c272470bc6a72722d0e480a7d188.js"></script>

To actually view the dashboard, you’ll have to import the library and run the app - it will open just as any other R Shiny application:

<script src="https://gist.github.com/darioappsilon/5c5b4ea338492a195d83a26a139c4d06.js"></script>

The dashboard allows end-users to evaluate research, teach, and train others. It also has the functionality to run simulations. You can simulate response variables along with the randomization. The info can be used directly to assess the correlation of data plots in spatial designs and for teaching statistical concepts.

Learn more:
<ul><li><a href="https://github.com/DidierMurilloF/FielDHub" target="_blank" rel="noopener noreferrer">Source code</a></li></ul>
<h3 id="dashboard-6">CSBB: Computational Suite for Bioinformaticians and Biologists</h3>
The CSBB is an R Shiny dashboard developed with an intention to empower researchers from wet and dry labs to perform downstream Bioinformatics analysis.

<img class="size-full wp-image-11638" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7ea63ce91a2406f89c_CSBB-comptational-suite-for-bioinformaticians-and-biologists-dashboard.webp" alt="Image 6 - The CSBB R Shiny dashboard" width="2736" height="2102" /> Image 6 - The CSBB R Shiny dashboard

Once again, you can run the dashboard from your machine. Use the <code>runGitHub()</code> function from R Shiny, and it will take care of the dependency installation for you.

<script src="https://gist.github.com/darioappsilon/00c328cd61859ab646c0b8adceeb4428.js"></script>

The dashboard comes with 8 modules (visualization, normalization, basics statistics, differential expression, correlation profiles, function enrichment, ChiP-ATAC seq, and single-cell RNA-seq analysis) that are designed in order to help researchers design a hypothesis or answer research questions with little or no expertise in bioinformatics.

Learn more:
<ul><li><a href="https://praneet1988.shinyapps.io/CSBB_Shiny/" target="_blank" rel="noopener noreferrer">View the CSBB dashboard</a></li><li><a href="https://github.com/praneet1988/CSBB-Shiny" target="_blank" rel="noopener noreferrer">Source code</a></li><li><a href="https://www.youtube.com/watch?v=c0P7TMu_IyY" target="_blank" rel="noopener noreferrer">Video tutorial</a></li><li><a href="https://www.linkedin.com/posts/praneet-chaturvedi-78927438_datavisualization-ngs-singlecell-activity-6906743267803705344-S_Y9/" target="_blank" rel="noopener noreferrer">Social media article</a></li></ul>
<h3 id="dashboard-7">GraphBio: Visualization Analysis for Omics Data</h3>
The GraphBio dashboard provides 15 popular visualization analysis methods (heatmap, volcano plot, MA plot, network plot, PCA, ROC analysis, and others).

<img class="size-full wp-image-11642" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01e7ea8912184dd398251_GraphBio-visualization-analysis-for-omics-data-dashboard.webp" alt="Image 7 - The GraphBio dashboard" width="2936" height="2362" /> Image 7 - The GraphBio dashboard

If you’re unfamiliar with the term, <em>Omics</em> stands for different disciplines in biology whose names end in “omics”, such as genomics, proteomics, metabolomics, and so on.

The dashboard enables experimental biologists without programming skills to easily perform popular visualization analysis and get publication-ready charts.

Learn more:
<ul><li><a href="http://www.graphbio1.com/en/" target="_blank" rel="noopener noreferrer">View the GraphBio dashboard</a></li><li><a href="https://www.biorxiv.org/content/10.1101/2022.02.28.482106v1" target="_blank" rel="noopener noreferrer">Research article</a></li></ul>

<hr />

<h2>Conclusion</h2>
Today you’ve seen seven examples of dashboards built with R Shiny in life sciences, and we’ve only scratched the surface. There are many other closed dashboards that aren’t accessible to the public. Shiny is used across many subfields of Life Sciences with applications in biodiversity monitoring to biotechnology research and patient care.
<blockquote><strong>Unsure about adopting R Shiny in your business? Here's <a href="https://appsilon.com/why-you-should-use-r-shiny-for-enterprise-application-development/">what we've learned by helping Fortune 500s develop enterprise Shiny apps</a>.</strong></blockquote>
The take-home point we want you to remember is the following: If your field of study can benefit from data science, it can also benefit from interactive dashboards. Look no further than R shiny, as it comes with everything you need to either automate or simplify your day job.
<blockquote><strong>Looking to start a career as an R Shiny Developer? <a href="https://appsilon.com/how-to-start-a-career-as-an-r-shiny-developer/">Our complete beginner guide has you covered</a>.</strong></blockquote>
If you’re looking to build your first R Shiny dashboard, you can use <a href="http://templates.appsilon.com">Appsilon Shiny Dashboard Templates</a> to simplify the process. The bundle contains a ton of beautiful and easy-to-use templates. The best part - is it’s entirely free.

In case you need something more advanced, we’re also here to help. <a href="https://appsilon.com/">Appsilon</a> is an <a href="https://appsilon.com/appsilon-is-an-rstudio-full-service-certified-partner/">RStudio Full Service Certified Partner</a>. We develop advanced R Shiny applications for Fortune 500 companies across the globe. We’d be happy to help you choose the right options for your use case. <a href="hello@appsilon.com">Let's talk</a> and see how Shiny can help you grow.

Would you like to learn the pros and cons of SAS and R in the life sciences? Check out our blog post and downloadable resource that covers what you need to know.

Have questions or insights?

Engage with experts, share ideas and take your data journey to the next level!
Explore Possibilities

Share Your Data Goals with Us

From advanced analytics to platform development and pharma consulting, we craft solutions tailored to your needs.

Talk to our Experts
shiny
shiny dashboards
r
community
rstudio