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.
- Compatible with JSON, SQL, or
CapR
cohorts. - Compatible with
DatabaseConnector
,CohortGenerator
, andCDMConnector
. - Stratification by age, sex, and index year.
- Treatment type agnostic.
- Full control over treatment pathway definition:
- Duration of treatments
- Overlap of treatments
- 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.
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")