Python-bloggers

Shiny Gatherings x Pharmaverse: Building Clinical Data Analysis Apps with {teal}

This article was first published on Appsilon | Enterprise R Shiny Dashboards , and kindly contributed to python-bloggers. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

In this edition of Shiny Gatherings x Pharmaverse, we were thrilled to welcome Nina and Dony, Principal Data Scientists at Genentech, for an insightful session on building clinical data analysis apps using the {teal} framework.

Explore how {teal} and {pharmaverseadam} simplify clinical dashboards for faster insights. Learn how these tools streamline data management so you can focus on what matters.

Both Nina and Dony shared their experiences in R and open-source development in the pharmaverse and walked us through {teal}, an R/Shiny-based framework designed to simplify data exploration in clinical research and beyond. Here’s a summary of the session, including key demos and takeaways.

Watch the Video: 

What is {teal}?

{teal} is an open-source, scalable R/Shiny framework developed by Roche and Genentech and later made open-source to facilitate interactive data exploration. While primarily created to support clinical trial analysis,{teal} is robust enough to also handle a wide range of general data exploration use cases.

Some key features of {teal} include:

*When supported by the module.

How {teal} Works: Anatomy of a {teal} App

Nina introduced the basic structure of a {teal} app, walking attendees through the anatomy of the app’s components:

  1. Header: Customized by the developer to show app titles or navigation links.
  2. Filter Panel: Enables dynamic filtering of datasets, giving users flexibility to explore subsets of the data.
  3. Encoding Panel: Allows users to configure and modify how variables are analyzed and visualized.
  4. Output Panel: Displays the results (tables, plots) based on user selections.
  5. Show R Code Feature: Provides the exact R code used to generate the outputs, aiding reproducibility.
  6. Reporter Module: Lets users generate and download custom reports based on their analysis.

The {teal} framework offers modular building blocks through R packages like {teal.slice}, {teal.reporter}, and {teal.widgets}, allowing users to create feature-rich, interactive data apps with minimal effort.

Creating a Custom {teal} Module: Dony’s Workshop

Dony’s segment focused on developing a custom {teal} module to demonstrate the power of the framework. He shared code templates and explained key concepts step-by-step.

Shiny Gatherings x Pharmaverse: Building Clinical Data Analysis Apps with {teal}

Step-by-Step: Custom {teal} Module

Here’s a quick rundown of what Dony demonstrated during the webinar:

  1. Initializing a {teal} App:

  1. Building a Simple App:
  1. Enhancing the App with a Plot Module:
  1. Enabling Code Reproducibility:
  1. Generating Reports with {teal.reporter}:

Catch up on Shiny Gatherings #8 with Paweł Rucki to see how {teal} drives pharma innovation. Explore key insights and its impact on clinical data management.

What’s New With Teal  

Nina concluded the session by providing insights into upcoming updates and enhancements for {teal}:

Nina also invited attendees to explore the {teal} roadmap on GitHub, where they can track the progress of new features and contribute to the project.

Summing Building Clinical Data Apps with teal

The Shiny Gathering offered a deep dive into the capabilities of the {teal} framework, highlighting its potential for simplifying clinical data analysis while ensuring reproducibility and interactivity.

Whether you’re a seasoned R user or new to Shiny, {teal} provides a robust platform for building analytical applications that meet the evolving needs of the healthcare and pharmaceutical industries.

Be sure to explore {teal} and start building your own custom modules!

Tickets are still available for our GxP Validation Summit which is now fully online and free! Learn more and sign up today using this link.

Resources

The post appeared first on appsilon.com/blog/.

To leave a comment for the author, please follow the link and comment on their blog: Appsilon | Enterprise R Shiny Dashboards .

Want to share your content on python-bloggers? click here.
Exit mobile version