Identifying medication use clusters with the R package tame based on dose, timing and ATC codes
Anna Laksafoss1, Jan Wohlfahrt2,3, Anders Hviid4,5
1Department of Epidemiology Research, Statens Serum Institut, Copenhagen, Denmark. adls@ssi.dk.
None:
Simplified exposure classifications, such as ever exposed versus never exposed, are commonly used in pharmacoepidemiology. However, this simplification may obscure complex use patterns relevant to researchers. We introduce tame, an R package that offers a novel method for classifying medication use patterns, capturing complexities such as timing, dose, and concurrent medication use in real-world data. The core innovation of tame is its bespoke distance measure, which identifies complex clusters in medication use and is highly adaptable, allowing customization based on the anatomical therapeutic chemical (ATC) Classification System, medication timing, and dose. By prioritizing a robust distance measure, tame ensure accurate and meaningful clustering, enabling researchers to uncover intricate patterns within their data. The package also includes tools for visualizing and applying these clusters to new datasets. In a national Danish cohort study, tame identified nuanced antidepressant use patterns before and during pregnancy, demonstrating its capability to detect complex trends. tame is available on the Comprehensive R Archive Network at [ https://CRAN.R-project.org/package=tame ] under an MIT license, with a development version on GitHub at [ https://github.com/Laksafoss/tame ]. tame enhances medication use classification by detecting complex interactions and offering insights into real-world medication usage, thus improving stratification in epidemiological studies.
More Related Videos
06:46Competing-Risk Nomogram for Predicting Cancer-Specific Survival in Multiple Primary Colorectal Cancer Patients after Surgery
Published on: September 27, 2024
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Related Concept Videos
Drug Concentration Versus Time Correlation
Two pivotal parameters are the minimum effective concentration (MEC) and the minimum toxic concentration (MTC). The MEC is the...
Dosage Regimens: Designs and Approaches
Dosage Interval and Administration Route: Determination Methods
Dosage Regimen Designs: Nomograms and Tabulations
Determination of Multiple Dosing Parameters: Loading and Maintenance Doses
Therapeutic Drug Monitoring: Overview and Classification
