Shiny Gatherings #8: Teal's Role in Pharma Innovation with Paweł Rucki

By:
Appsilon Team
November 29, 2023

In the fast-paced world of <a href="https://appsilon.com/pharmaceutical-and-clinical-trial-data-analysis-packages/" target="_blank" rel="noopener">pharmaceutical</a> software development, open-source tools play a pivotal role. Among these, Teal stands out as a groundbreaking framework, developed under the aegis of Roche, for creating interactive data applications. In this article, we delve into a comprehensive conversation with <a href="https://www.linkedin.com/in/pawe%C5%82-rucki-01727a109/" target="_blank" rel="noopener noreferrer">Paweł Rucki</a>, <strong>exploring the intricacies of Teal</strong>, <strong>its evolution</strong>, and the <strong>challenges and triumphs of open-sourcing in the pharma sector</strong>. <h3>Table of Contents</h3><ul><li><a href="#full-session">Full Session</a></li><li><a href="#essence">The Essence of Teal</a></li><li><a href="#unique-features">Unique Features</a></li><li><a href="#evolution">Evolution and Open-Sourcing</a></li><li><a href="#challenges">Challenges and Lessons</a></li><li><a href="#applications">User Engagement and Applications</a></li><li><a href="#advanced-features">Balancing User-Friendliness and Advanced Features</a></li><li><a href="#community">Community Contribution and Support</a></li><li><a href="#pharma-challenges">Open-Source Challenges in Pharma</a></li><li><a href="#impact">Impact on Roche and Skill Development</a></li><li><a href="#future-direction">Future Directions and Features</a></li><li><a href="#conclusion">Conclusion</a></li><li><a href="#resources">Resources</a></li></ul> <h2 id="full-session">Full Session</h2> <iframe title="YouTube video player" src="https://www.youtube.com/embed/ZAi1QxA65Fg?si=a3iZ-o05xr4WVqg2" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe> <h2 id="essence">The Essence of Teal</h2> <a href="https://github.com/insightsengineering/teal" target="_blank" rel="noopener noreferrer">Teal</a>, primarily designed for statistical data analysts, <strong>simplifies the process of creating shiny-based applications</strong>. It serves as a foundation, allowing users, <strong>especially early entry-level R programmers</strong>, to develop and deploy applications with minimal coding. The framework is complemented by an array of tools, guides, documentation, and examples, making it accessible and user-friendly. <h2 id="unique-features">Unique Features</h2> What sets Teal apart is its dual focus on reproducibility and ease of use. It caters to statistical programmers transitioning from other platforms like <a href="https://appsilon.com/sas-vs-r-programming/" target="_blank" rel="noopener">SAS</a> and lowers the entry barrier significantly. Teal's interactive code generation and evaluation capabilities enable users to understand and recreate the code behind visualizations, fostering a deeper understanding of data manipulation and analysis. <h2 id="evolution">Evolution and Open-Sourcing</h2> Teal's journey began with its first Git commit in 2017 with just three developers. After a period of inactivity, the project gained momentum in 2019, culminating in its open-source release in 2021. This transition marked a significant milestone, leading to widespread recognition and adoption within Roche, including its use in an FDA submission. By 2023, Teal had garnered substantial buzz, with numerous workshops and presentations showcasing its capabilities. <blockquote>Curious about how open-source tools  such as Teal, R Shiny and Rhino are reshaping FDA clincal trial submissions? <a href="https://appsilon.com/fda-clinical-trial-submissions-with-r-shiny-rhino/" target="_blank" rel="noopener">Dive into our insights in this comprehensive review</a>.</blockquote> <h2 id="challenges">Challenges and Lessons</h2> The development of Teal has not been without its challenges. Key lessons include the importance of design, the necessity of automating routine tasks, and the value of continuous feedback and testing. These insights have shaped Teal's development, ensuring it remains both robust and adaptable. <h2 id="applications">User Engagement and Applications</h2> Teal's versatility is evidenced by its diverse user base. From facilitating data exploration to supporting regulatory outputs, its applications are vast. Notable uses include interactive data analysis, patient profile modules, and custom module development, highlighting Teal's adaptability to various needs. <h2 id="advanced-features">Balancing User-Friendliness and Advanced Features</h2> Maintaining a balance between simplicity for beginners and advanced capabilities for experienced users is crucial. Teal achieves this by segregating its functionalities into different layers. This layered architecture is structured to prioritize complexity and power at the base, catering to users requiring advanced capabilities. Above this is a more straightforward convenience layer, geared towards non-expert users, offering simplicity and functionality that caters to user skills. The topmost layer is designed for typical standard users, providing essential functions in an accessible way. <h3>Teal Developers</h3> This layered architecture creates two broad roles in using teal: <ul><li><strong>Teal App Developer:</strong> Responsible for creating Teal apps using available modules. These modules are standardized and versatile, fitting various use cases. The developer integrates them into the app's interface for user-friendliness.</li><li><strong>Teal Module Developer:</strong> Focuses on building Teal modules that are adaptable and reusable, or customized for specific project needs. These modules form the basis of Teal apps.</li></ul> This structure ensures Teal is accessible for beginners while offering advanced features for experienced users. <h2 id="community">Community Contribution and Support</h2> Community involvement is a cornerstone of Teal's development. Feature requests and feedback are encouraged through platforms like <a href="https://github.com/insightsengineering/teal" target="_blank" rel="noopener noreferrer">GitHub</a>, and <a href="https://pharmaverse.slack.com/join/shared_invite/zt-yv5atkr4-Np2ytJ6W_QKz_4Olo7Jo9A#/shared-invite/email" target="_blank" rel="noopener noreferrer">Slack</a>. This collaborative approach ensures that Teal evolves in response to real-world needs and experiences. <h2 id="pharma-challenges">Open-Source Challenges in Pharma</h2> <blockquote>“Industry and Pharma companies are willing to compete on the molecules, not on the tools.”</blockquote> Transitioning to open-source in the pharmaceutical industry presents unique challenges. Navigating these requires careful planning and a clear vision for the future. Roche's experience with Teal offers valuable insights into this process. Transitioning to open-source in the pharmaceutical industry presents unique challenges. Navigating these requires careful planning and a clear vision for the future. Roche's experience with Teal offers valuable insights into this process. <h2 id="impact">Impact on Roche and Skill Development</h2> Implementing Teal has profoundly impacted Roche and became part of their effort to transition to R. It has fostered skill development, particularly in R programming and software development practices. While the benefits are often qualitative, the positive feedback and application of learned skills are tangible indicators of its success. <h2 id="future-direction">Future Directions and Features</h2> Looking ahead, Teal's roadmap includes a CRAN release and continuous refinement of its features. The focus is on simplifying the project, enhancing the UI/UX, and responding to user feedback. These initiatives underscore a commitment to making Teal an even more powerful and user-friendly tool in the years to come. <h2 id="conclusion">Conclusion</h2> Teal exemplifies the innovative spirit within the pharmaceutical software industry. Its journey from an internal project to a widely recognized open-source tool highlights the potential of collaborative development in advancing healthcare technology. As Teal continues to evolve, it promises to revolutionize the way statistical data analysis is conducted, making it an indispensable tool for both novices and experts in the field. <strong>Get ready for the next Shiny Gathering event – <a href="https://share.hsforms.com/1BGdQEoCORSKeJ53DQyUrLw2rk4g" target="_blank" rel="noopener">#9: R Shiny Trivia Night</a>! Whether you're flying solo or joining forces with friends and colleagues, this is your chance to shine in R Shiny trivia. Gear up for an evening of knowledge, competition, and the opportunity to win exciting prizes. Don’t miss out on this engaging event – <a href="https://www.shinyconf.com/shiny-gatherings" target="_blank" rel="noopener">sign up now and join the fun</a>.</strong> <em><strong>This session was co-hosted by <a href="https://appsilon.com/author/vedha/" target="_blank" rel="noopener">Vedha Viyash</a> and <a href="https://appsilon.com/author/andre/" target="_blank" rel="noopener">André Veríssimo</a>.</strong></em> <h2 id="resources">Resources</h2> <h3>Conferences</h3><ul><li><a href="https://youtu.be/fF17XouIL-c?si=78h0DnxnEqnK_SJ2" target="_blank" rel="noopener">ShinyConf2023: Introduction to {teal} - open source framework to build interactive applications for clinical data analysis w/Pawel Rucki &amp; Dony Unardi [30mins.]</a></li><li><a href="https://www.youtube.com/watch?v=nqJsLSLd39A" target="_blank" rel="noopener">Posit Conf 2023: Shifting to an Open-Source Backbone in Clinical Trials with Roche [1hr.]</a></li><li><a href="https://rinpharma.com/workshop/2023conference/" target="_blank" rel="noopener noreferrer">R/Pharma Conference 2023: Revolutionize Clinical Trial Data Exploration - teal</a></li><li><a href="https://youtube.com/playlist?list=PLMtxz1fUYA5A2lLfwjIL0S43H20bw6JON&amp;si=n1ukXxn_fzxWfJ5A" target="_blank" rel="noopener noreferrer">R/Basel 2023</a></li></ul> <h3>Articles</h3><ul><li><a href="https://insightsengineering.github.io/teal/latest-tag/articles/teal.html" target="_blank" rel="noopener noreferrer">Getting Started with teal</a></li><li><a href="https://appsilon.com/r-shiny-pharma-biotech-examples/" target="_blank" rel="noopener">R Shiny Examples in Pharma and Biotech</a></li></ul>

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
open source
pharma
r
community
life sciences
pharmaverse