Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

Tutorial: translating a validated breast cancer prediction model into a web-based decision aid using R Shiny.

Created on 11 Jul 2026

Authors

Emily A Wolfson, Long H Ngo, Mara A Schonberg

Published in

Annals of translational medicine. Volume 14. Issue 3. Pages 33. Jun 30, 2026. Epub Jun 29, 2026.

Abstract

Risk prediction model development has expanded rapidly, but few models have been translated into patient-facing tools that support informed decision-making. Existing breast cancer models provide no guidance on how to incorporate risk into decisions around screening or prevention medications, limiting their practical utility. To address this gap, we previously developed and validated a competing risk regression model that simultaneously predicts breast cancer and non-breast cancer death and then developed a web-based decision aid application that integrates this model with interactive, personalized information on screening and prevention medications. Using this application as a case study, we present a framework for developing an online decision aid using R Shiny. While prior Shiny tutorials have focused on simple applications or calculators, practical guidance for integrating risk prediction into multi-page, interactive decision support tools remains limited. In our tutorial, we describe key components of development, including application structure, user input collection, real-time calculation of individualized risk estimates, and presentation of results in a clear, interpretable format. We also demonstrate implementation of core Shiny functionalities, including reactive values for dynamic updates, data visualization techniques to contextualize risk estimates, and use of the observeEvent function to enable conditional display and navigation. Through this tutorial, we illustrate how risk calculators can be extended into comprehensive, dynamic and clinically useful tools that support informed decision-making.

PMID:
42434786
Bibliographic data and abstract were imported from PubMed on 11 Jul 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 1
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement