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

darwin-eu/TreatmentPatterns

 
 

Repository files navigation

TreatmentPatterns

R-CMD-check

CRAN Codecov test coverage

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

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.

Features

  • Compatible with JSON, SQL, or CapR cohorts.
  • Compatible with DatabaseConnector, CohortGenerator, and CDMConnector.
  • Stratification by age, sex, and index year.
  • Treatment type agnostic.
  • Full control over treatment pathway definition:
    1. Duration of treatments
    2. Overlap of treatments
    3. Gaps between treatments
  • Intermediate patient level results can be reviewed, aggregate data can be shared.
  • Easily integrate Sankey diagrams and sunburst plots (htmlWidget) into ShinyApps or web-pages.

Installation

You can install the most recently released CRAN version of TreatmentPatterns with:

install.packages("TreatmentPatterns")

Or from GitHub with:

remotes::install_github("darwin-eu-dev/TreatmentPatterns")

You can install the development version of TreatmentPatterns from GitHub with:

install.packages("remotes")
remotes::install_github("darwin-eu-dev/TreatmentPatterns@dev")

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 74.8%
  • R 25.2%