Site icon R-bloggers

Understanding Drug-Drug Interactions Using R Shiny

[This article was first published on Tag: r - Appsilon | Enterprise R Shiny Dashboards, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

When a person opens their medicine cabinet, they open the door to ingenuity: a confluence of nature and human discovery that has found cures for diseases and helps manage the ones that we do not fully understand yet.

As living conditions and medical care have improved, people are living longer than ever before. This shows that healthcare and society, in general, have advanced. As people get older, they may develop chronic conditions that need to be treated with different medications. This is where drug-drug interactions (or DDI) become a point of concern.

Is your documentation GxP compliant? Follow our tutorial on officedown + rmarkdown for GxP compliance in R.

An easily accessible, online app that allows users to check for potential drug-drug interactions can be particularly helpful for those taking multiple medications. 

Here, we present you with one such solution, built using R Shiny. Bookmark it and use it anywhere!

TOC:


The adverse effects of drug-drug interactions

What is drug-drug interaction?

Drug-drug interactions happen when two or more medications are taken together. In problematic cases, this can make the drugs less effective or cause negative side effects. This can be especially worrying for older adults taking multiple medications. 

DDIs can cause adverse drug events, compromise treatment, and pose significant safety risks for older adults while also having negative economic effects on the healthcare system.

R Shiny is found across multiple industries. See examples of R Shiny dashboards in Life Sciences.

Most drug-drug interactions are documented and known by physicians. Physicians consider these carefully when planning treatment. This ensures that all the pieces work together and give the best possible care.

R Shiny and drug-drug interaction data

National institutes have databases of the known interactions that are studied around the world, however, this information can be difficult to find and use. Here’s where technology can help.

Our team created a Shiny web application that is searching through an extensive online database in order to identify potential adverse effects related to any given pair of drugs or active compounds. With numerous DDIs, it’s tough to keep track. Our Shiny app provides a valuable resource not only for healthcare professionals and researchers but also for patients looking to gain a better understanding of the potential risks associated with different drug combinations.

Explore the Drug Interaction Shiny application.

Using Rhino to develop an enterprise-grade Drug Interaction Shiny prototype swiftly

The “Drug Interactions” dashboard was created using the Rhino package from CRAN. This allowed our team to quickly set up an initial skeleton of the dashboard that already included all the necessary tools to develop a full-stack application with modular code, SASS support, CI/CD automation, unit testing, e2e testing, and lint support.

From week 1 of our app sprint, the team could focus on integrating with external databases and on developing a clean interface. Rhino saved us time, so our team could focus on building a better product.

Shiny dashboard to search known drug-drug interactions

Connecting drug databases in Shiny

The Shiny app allows the user to search for drugs and active compounds in the US National Library of Medicine and find their interactions. It communicates with different data sources to access relevant information, from the chemical description of the chemical compound via PubChem, to the interactions and their severity via RxNorm and DrugBank.

Saving user time with the Drug Interaction Shiny app

The app at its core facilitates access to this information by eliminating the complexity of searching through different databases and filtering the relevant data. In addition, the secondary drug search box will show any high-severity interactions that exist. Ultimately, the user has a better overview of drugs (or active compounds) that need to be avoided.

R Shiny on mobile

Our app is designed to work efficiently on mobile devices. On mobile, users have the flexibility to access its features from virtually anywhere. Whether you’re on the go, at home, or in the office, our app ensures a seamless experience across all platforms. 

Looking for an engaging user experience with Shiny? Try adding infinite scroll in your Shiny app.

Why a drug-drug interaction Shiny app is necessary

Drug-drug interactions are a common occurrence in clinical practice and can have serious consequences. It is important for healthcare providers and patients to be aware of potential drug-drug interactions and to take steps to minimize their risk.

Disclaimer

This app does not replace the primary care provider or a physician in health-related matters. Consult with your physician if you believe you are experiencing a drug interaction or if you think there is a risk of experiencing one.

Curious about what’s possible with R Shiny? Explore our R Shiny demo gallery.

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

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

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Exit mobile version