Description
Analyzes Real-World Treatment Patterns of a Study Population of Interest.
Description
Computes treatment patterns within a given cohort using the Observational Medical Outcomes Partnership (OMOP) common data model (CDM). As described in Markus, Verhamme, Kors, and Rijnbeek (2022) <doi:10.1016/j.cmpb.2022.107081>.
README.md
TreatmentPatterns
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
, 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.
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")