Skip to content

An R package to analyze treatment patterns of a study population of interest 

Notifications You must be signed in to change notification settings

mi-erasmusmc/TreatmentPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreatmentPatterns Package

This R package contains the resources for performing a treatment pathway analysis of a study population of interest in observational databases. The package partially relies on the Observational Medical Outcomes Partnership Common Data Model (OMOP CDM), but the main parts of the package are also usable with different data formats.

Reference: Markus, A. F., Verhamme, K. M., Kors, J. A., & Rijnbeek, P. R. (2022). TreatmentPatterns: An R package to facilitate the standardized development and analysis of treatment patterns across disease domains. Computer Methods and Programs in Biomedicine, 107081.

Features

  • Extracts the necessary data from a database in OMOP CDM format or directly imports the cohorts from a csv file.
  • Performs baseline characterization of the study population of interest (only for databases in OMOP CDM format).
  • Treatment pathways are constructed consisting of specified events of interest (e.g. prescriptions of drugs, therapies, other treatments) for specified target cohorts (study populations of interest).
  • Aggregate output statistics are generated to describe the treatment sequence observed in the study population of interest including sunburst plots, Sankey diagrams, percentage(s) of people treated (with certain treatments), treatment changes over time, average duration of event eras.
  • All results can be explored in an interactive Shiny application.

Screenshots

Demo output: example shiny application.

Sunburst plotSankey diagram

Installation

  1. See the instructions here for configuring your R environment, including RTools and Java.

  2. In R, use the following commands to download and install TreatmentPatterns:

install.packages("remotes")
remotes::install_github("mi-erasmusmc/TreatmentPatterns")

User Documentation

Available documentation includes:

Package Structure

Support

We use the GitHub issue tracker for all bugs/issues/enhancements.

About

An R package to analyze treatment patterns of a study population of interest 

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published