Exploring Pharmacokinetic and Pharmacodynamic Drug-Drug Interactions with our Drug Interactions Shiny App

By:
Ismael Rodriguez
November 7, 2023

In the field of <strong>oncology</strong>, in-depth research into and comprehension of <a href="https://appsilon.com/drug-drug-interactions-r-shiny/" target="_blank" rel="noopener">drug-drug interactions</a> hold paramount significance. This is especially crucial given the limited margin between the effective and toxic doses of anticancer agents.

In this article, we discuss what drug interaction is, the different kinds, and take a look into some of these interactions through our drug interactions Shiny app.


<h2 id="introduction">What is a Drug Interaction?</h2>
Drug interactions are reactions between two (or more) drugs or between a drug and another element, such as food or supplements. Drug interactions are important because they can cause unwanted side effects. They can also increase or reduce the action of a particular drug.
<h2 id="important">🚨 Important Note</h2>
The text presented here does not represent medical advice. Always consult with your doctor in health-related matters. Our application purely presents data from the <a href="https://www.nlm.nih.gov/" target="_blank" rel="noopener noreferrer">US National Library of Medicine and the National Institute of Health</a> datasets.
<h3>Table of Contents</h3><ul><li><a href="#introduction">What is a Drug Interaction?</a></li><li><a href="#important">🚨 Important Note</a></li><li><a href="#drug-interactions">What Kind of Drug Interactions Can Occur?</a></li><li><a href="#quick-peek">A Quick Peek into Our Drug Interactions Shiny App</a></li><li><a href="#pharmacokinetic">Pharmacokinetic Interactions</a></li><li><a href="#pharmacodynamic">Pharmacodynamic Interactions</a></li><li><a href="#summary">A Journey to Transform Life Sciences: Tapping into the Power of R/Shiny Technology</a></li></ul>
<h2 id="drug-interactions">What Kind of Drug Interactions Can Occur?</h2>
<a href="https://www.fda.gov/drugs/resources-drugs/drug-interactions-what-you-should-know" target="_blank" rel="noopener noreferrer">According to the FDA</a>, these types of interactions fall into three categories:
<ul><li><strong>Drug-drug interactions:</strong> This happens when two or more drugs interact with each other.</li><li><strong>Drug-food/beverage interaction:</strong> This is the result of a drug reacting with food or beverages.</li><li><strong>Drug-condition interaction: </strong>This type occurs when a pre-existing medical condition makes a particular drug potentially harmful.</li></ul>
Drugs can interact at two levels: <strong>pharmacokinetic</strong> and <strong>pharmacodynamic</strong>.

We will explore a few important drug interactions and will analyze them using our <strong>Drug Interactions Shiny App</strong>.
<h3 id="quick-peek">A Quick Peek into Our Drug Interactions Shiny App</h3>
The app fundamentally simplifies information access by removing the intricacy of navigating various databases and sorting through pertinent data. Additionally, the secondary drug search box displays any high-severity interactions that may be present.

<iframe title="YouTube video player" src="https://www.youtube.com/embed/ne5LcbYm6qs?si=rKU7kuok-W_bGDWZ" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
<h2 id="pharmacokinetic">Pharmacokinetic Interactions</h2>
When an interaction at the <strong>pharmacokinetic</strong> level occurs, it means that a drug alters how the other is absorbed, distributed, metabolized or excreted; this results in an increased or decreased drug concentration in the body that is available to produce a pharmacological effect.
<h3 id="absorption">Absorption interactions</h3>
<h4 id="warchol">Warfarin and Cholestyramine</h4>
<img class="size-full wp-image-21549" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019c4a597077171ba5384_image_2023-11-07_10-49-02.webp" alt="A &quot;Drug Interactions Data4Good dashboard&quot; with a focus on the interaction between warfarin and cholestyramine resin. The dashboard alerts that cholestyramine can reduce warfarin absorption, decreasing its serum concentration and efficacy." width="1152" height="634" /> Drug Interactions Dashboard: Warfarin and Cholestyramine

The information that we got from analyzing this interaction in our app is the following: cholestyramine may cause a decrease in the absorption of Warfarin, resulting in a reduced serum concentration and potentially a decrease in efficacy.
<h5>Mechanism of Interaction</h5>
According to a <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1429341/" target="_blank" rel="noopener noreferrer">scientific study</a>, cholestyramine treatment (4g three times daily) decreased the biological half-life of plasma warfarin and increased the total clearance of this drug. Also, the total anticoagulant effect per dose of warfarin, measured by the area under the effect v time curve, was also reduced by 25 % when cholestyramine was administered.
<h3 id="distribution">Distribution Interactions</h3>
<h4 id="phenval">Phenytoin and Valproic Acid</h4>
<img class="size-full wp-image-21551" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019c60e0bf7b4dd8990d4_image_2023-11-07_10-59-15.webp" alt="The &quot;Drug Interactions Data4Good dashboard,&quot; indicating a drug interaction warning that the serum concentration of Phenytoin can be decreased when combined with Valproic acid." width="1118" height="668" /> Drug Interactions Dashboard: Phenytoin and Valproic acid

Once we select these two drugs in our application, the following drug interaction is displayed: the serum concentration of Phenytoin can be decreased when it is combined with Valproic acid.
<h5>Mechanism of interaction</h5>
In a <a href="https://pubmed.ncbi.nlm.nih.gov/6777108/" target="_blank" rel="noopener noreferrer">scientific study</a>, the effect of sodium valproate on the disposition kinetics of intravenous phenytoin was investigated in a group of normal subjects. They found that after valproate, the free (unbound) fraction of phenytoin in serum rose from 9.6 % to 15.6 % on average (p &lt; 0.001). The free phenytoin concentration in serum and phenytoin concentration in saliva increased during valproate administration.

The researchers’ results suggested that valproic acid administration may have two separate and opposing effects on phenytoin disposition:
<ol><li>Displacing phenytoin from plasma protein binding sites, thus enhancing the systemic clearance of the total drug.</li><li>Inhibition of phenytoin metabolism, thus increasing the concentration of free drug in the serum.</li></ol>
This interaction, which results in an increase in the free fraction of phenytoin, alters the relationship between total phenytoin concentration and the drug’s pharmacological effect. <a href="https://www.amjmed.com/article/0002-9343(88)90054-X/fulltext#:~:text=The%20interaction%20between%20phenytoin%20and,and%20the%20drug's%20pharmacologic%20effect." target="_blank" rel="noopener noreferrer">This results in toxicity at concentrations usually considered to be within the therapeutic range</a>.

A <a href="https://pubmed.ncbi.nlm.nih.gov/24381240/" target="_blank" rel="noopener noreferrer">case study</a> showcasing the clinical outcomes of this interaction was reported. In this case study, the patient presented phenytoin toxicity despite receiving the appropriate administration of phenytoin.
<h3 id="metabolism">Metabolism Interactions</h3>
<h4 id="ethri">Ethinylestradiol and Rifampin</h4>
<img class="wp-image-21553 size-full" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019c7e64b1cc59a119eca_image_2023-11-07_11-05-53.webp" alt="The dashboard indicating a drug interaction alert between two drugs: Ethinyl estradiol and Rifampin. The alert states that the metabolism of Ethinyl estradiol can be increased when combined with Rifampin. " width="1118" height="724" /> Drug Interactions Dashboard: Ethinyl estradiol and Rifampin

Our application shows one interaction: the metabolism of Ethinylestradiol can be increased when combined with Rifampin.
<h5>Mechanism of Interaction</h5>
According to a <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3250726/" target="_blank" rel="noopener noreferrer">scientific publication</a>, ethinylestradiol is the most common estrogen found in oral contraceptive preparations. The main metabolic pathway of this estrogen is hydroxylation (by the cytochrome P450 IIIA4 or CYP3A4), and a minor pathway is conjugation, which results in sulphation or glucuronidation of the original steroid. The resulting conjugates reach the small intestine, where hydrolytic enzymes of intestinal bacteria break them down, which results in the release of active estrogenic hormone.

Antibiotics could diminish the efficacy of oral contraceptives, such as ethinylestradiol, by two main mechanisms:
<ol><li>By interfering with the enterohepatic cycling of ethinylestradiol.</li><li>By inducing a group of hepatic microsomal enzymes of the cytochrome P450.</li></ol>
The former is considered to be the <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3250726/" target="_blank" rel="noopener noreferrer">most clinically important</a>. Rifampin induces enzymes of the cytochrome P450 in the liver, which results in an increased hepatic hydroxylation of estrogens by fourfold. This results in both a reduction in the area under the curve (AUC) and increased clearance.
<h3 id="excretion">Excretion Interactions</h3>
<h4 id="methibu">Methotrexate and Ibuprofen</h4>
<img class="wp-image-21556 size-full" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019c993c80263c7831ab5_image_2023-11-07_11-26-38.webp" alt="The dashboard states that the serum concentration of Methotrexate can be increased when it is combined with Ibuprofen." width="1116" height="659" /> Drug Interactions: Methotrexate and Ibuprofen

By using our application to analyze possible interactions between these two drugs, we can observe the following: the serum concentration of methotrexate can be increased when it is combined with ibuprofen.
<h5>Mechanism of Interaction</h5>
Common over-the-counter nonsteroidal anti-inflammatory drugs (NSAIDs) include: aspirin, ibuprofen and naproxen sodium. Several NSAIDs, including ibuprofen, have been shown to reduce renal clearance of methotrexate, which could lead to toxicity (i.e., renal failure), when methotrexate is administered at high doses.

A <a href="https://link.springer.com/article/10.1007/BF00278469" target="_blank" rel="noopener noreferrer">scientific research</a> investigated the pharmacokinetics of methotrexate in patients with rheumatoid arthritis concurrently treated with NSAIDs. They found that the apparent systemic clearance of methotrexate was significantly reduced by the treatment with NSAIDs, including ibuprofen. Ibuprofen significantly reduced methotrexate renal clearance. This data showed that NSAIDs can affect the disposition of methotrexate and increase its toxicity.

In <a href="https://pubmed.ncbi.nlm.nih.gov/2213774/" target="_blank" rel="noopener noreferrer">another study</a>, the findings indicated that there is a lack of significant interaction between low-dose methotrexate and ibuprofen in patients with arthritis when using up to 25 mg/dose and 2400 mg/day of ibuprofen.

The results of these studies show that for some drug interactions, it's really important to consider the doses being administered or studied.
<h2 id="pharmacodynamic">Pharmacodynamic Interactions</h2>
This type of interaction occurs when two or more administered drugs have similar or antagonistic pharmacological properties.

When two or more drugs have similar mechanisms of action, their interaction is known as additive or synergistic.

<a href="https://www.frontiersin.org/articles/10.3389/fphar.2017.00158/full" target="_blank" rel="noopener noreferrer">Synergy</a> is commonly defined as the effect of two or more agents working in combination that is greater than the expected additive effect of said agents.

An <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6529235/#:~:text=The%20definition%20of%20additivity%20is,individual%20agent%20in%20the%20combination." target="_blank" rel="noopener noreferrer">additivity interaction</a> occurs when the overall effect caused by a drug combination is the sum of the pharmacological effects of each individual agent in the combination.

When two or more drugs have antagonistic properties, these drugs compete to interact with their targeted receptor. This type of interaction is known as antagonistic interaction. When the effect of one drug is impeded by another, the effects of these drugs are <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3444856/" target="_blank" rel="noopener noreferrer">antagonistic</a>.
<h3 id="possible">A Possible Synergistic or Additive interaction</h3>
<h4 id="nivoipil">Nivolumab and Ipilimumab</h4>
<img class="wp-image-21561 size-full" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019ca9b9335fb8c06c182_image_2023-11-07_12-03-28.webp" alt="The dashboard shows a notification about a drug interaction, specifically stating that the risk or severity of adverse effects can be increased when Ipilimumab is combined with Nivolumab." width="1109" height="533" /> Drug Interactions Dashboard: Nivolumab and Ipilimumab

Our Shiny application shows that the risk or severity of adverse effects can be increased when Ipilimumab is combined with Nivolumab. Cancer immunotherapy has demonstrated great clinical success. Whether a combination of multiple inhibitors provides a synergistic or additive effect <a href="https://www.sciencedirect.com/science/article/pii/S2213538322000613" target="_blank" rel="noopener noreferrer">requires further clinical investigation</a>.
<h5>Adverse Events - Mechanism of Interaction</h5>
<a href="https://www.cancer.gov/about-cancer/treatment/drugs/nivolumab" target="_blank" rel="noopener noreferrer"><strong>Nivolumab</strong></a> is a type of targeted therapy drug called an immune checkpoint inhibitor (ICI) (a type of immunotherapy). It is a monoclonal antibody that binds to the protein programmed death 1 <strong>(PD-1)</strong> on the surface of T cells. It works by keeping cancer cells from suppressing the immune system. This allows the immune system to attack and kill the cancer cells.

<strong><a href="https://www.cancer.gov/about-cancer/treatment/drugs/ipilimumab" target="_blank" rel="noopener noreferrer">Ipilimumab</a></strong> is also an immune checkpoint inhibitor. It is a monoclonal antibody that binds to the protein cytotoxic T-lymphocyte-associated antigen 4 <strong>(CTLA-4)</strong> on T cells. It also prevents cancer cells from suppressing the immune system.

The occurrence of serious adverse events seen during the treatment with immune checkpoint inhibitors are related to excessive immune activation, something collectively known as <a href="https://www.jocmr.org/index.php/JOCMR/article/view/3750/25892848" target="_blank" rel="noopener noreferrer">immune-related adverse events</a> (irAEs). The combination of anti-CTLA-4 antibody and anti-PD-1 antibody increases both the <a href="https://www.nature.com/articles/s41571-019-0218-0" target="_blank" rel="noopener noreferrer">incidence and severity of irAEs</a>. The mechanism of ICI- induced irAEs varies according to the affected organ.
<h5>Synergistic or Additive effect - Possible Mechanism of Interaction</h5>
PD-1 inhibitors (such as Nivolumab) affect T cell inflammation in inflamed tissues (i.e., in the tumor microenvironment). CTLA-4 inhibitors target T cells at sites of priming (i.e., tumor draining lymph nodes). Due to the distinct mechanisms of action, the combination of these two ICIs can boost anticancer immune response at <a href="https://www.sciencedirect.com/science/article/abs/pii/S1567576923002011" target="_blank" rel="noopener noreferrer">different times and locations throughout T cell evolution</a>.
<h3 id="antagonistic">Antagonistic Interaction</h3>
<h4 id="paclcarb">Paclitaxel with Carboplatin</h4>
<img class="wp-image-21563 size-full" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b019cc11a5990683e8f311_image_2023-11-07_12-19-27.webp" alt="The dashboard shows the interaction between two drugs, Paclitaxel and Carboplatin. The alert warns that the risk or severity of adverse effects can be increased when Carboplatin is combined with Paclitaxel." width="1099" height="655" /> Drug Interactions Dashboard: Paclitaxel with Carboplatin

The application shows the following: The risk or severity of adverse effects can be increased when Carboplatin is combined with Paclitaxel.

This is a <a href="https://journals.sagepub.com/doi/pdf/10.4103/jpp.jpp_16_21" target="_blank" rel="noopener noreferrer">commonly interacting combination</a> among chemotherapeutic drugs; this combination is commonly used for treating multiple solid tumours.
<h5>Mechanism of Interaction</h5>
The interaction effect is mainly due to <a href="https://journals.sagepub.com/doi/pdf/10.4103/jpp.jpp_16_21" target="_blank" rel="noopener noreferrer">cell cycle-dependent antagonistic interactions</a>. The mechanism is that pretreatment or co-treatment of Carboplatin inhibits the paclitaxel-induced I-kappa B-alpha degradation and bcl-2 phosphorylation. Also, Paclitaxel’s cytotoxic effects on both mitotic arrest and apoptotic cell death could interfere with carboplatin administration.
<h2 id="summary">A Journey to Transform Life Sciences: Tapping into the Power of R/Shiny Technology</h2>
In conclusion, our journey through pharmacokinetic and pharmacodynamic drug-drug interactions has been incredibly illuminating, thanks to the power of our Drug Interactions Shiny App.

At Appsilon, we recognize the immense potential of <a href="https://www.appsilon.bio/" target="_blank" rel="noopener">R/Shiny as a transformative tool in the realm of Life Sciences</a>. By leveraging its capabilities, we stand at the forefront of advancing discoveries in this field.

R/Shiny allows us to create intuitive, interactive, and user-friendly interfaces, allowing researchers and professionals to delve deep into complex data effortlessly. Its flexibility enables us to adapt swiftly to evolving research needs, fostering a dynamic environment for discovery and innovation.

Bring <a href="https://appsilon.com/#contact" target="_blank" rel="noopener">Appsilon</a> on board for <a href="https://appsilon.com/r-shiny-pharma-biotech-examples/" target="_blank" rel="noopener">Expert Enterprise-Level R/Shiny Application Development</a>.

*Unfortunately, the API that powered this application is no longer available, but we encourage you to explore other applications as we look for alternatives.

Have questions or insights?

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

Is Your Software GxP Compliant?

Download a checklist designed for clinical managers in data departments to make sure that software meets requirements for FDA and EMA submissions.
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
pharma
rhino
data for good
r
healthcare
life sciences