Package: TreatmentPatterns 3.1.2

Maarten van Kessel

TreatmentPatterns: Analyzes Real-World Treatment Patterns of a Study Population of Interest

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>.

Authors:Aniek Markus [aut], Maarten van Kessel [cre]

TreatmentPatterns_3.1.2.tar.gz
TreatmentPatterns_3.1.2.zip(r-4.7)TreatmentPatterns_3.1.2.zip(r-4.6)TreatmentPatterns_3.1.2.zip(r-4.5)
TreatmentPatterns_3.1.2.tgz(r-4.6-any)TreatmentPatterns_3.1.2.tgz(r-4.5-any)
TreatmentPatterns_3.1.2.tar.gz(r-4.7-any)TreatmentPatterns_3.1.2.tar.gz(r-4.6-any)
TreatmentPatterns_3.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
TreatmentPatterns/json (API)

# Install 'TreatmentPatterns' in R:
install.packages('TreatmentPatterns', repos = c('https://darwin-eu.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/darwin-eu/treatmentpatterns/issues

Pkgdown/docs site:https://darwin-eu-dev.github.io

On CRAN:

Conda:

7.16 score 2 stars 128 scripts 599 downloads 10 exports 49 dependencies

Last updated from:fb4437f21a. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK276
source / vignettesOK342
linux-release-x86_64OK212
macos-release-arm64OK142
macos-oldrel-arm64OK141
windows-develOK3029
windows-releaseOK2925
windows-oldrelOK2786
wasm-releaseOK164

Exports:computePathwayscreateSankeyDiagramcreateSunburstPlotexecuteTreatmentPatternsexportexportPatientLevelgetResultsDataModelSpecificationsggSunburstplotEventDurationTreatmentPatternsResults

Dependencies:Andromedaaskpassbackportsbitbit64blobCDMConnectorcheckmateclicliprcpp11crayoncurlDBIdbplyrdplyrduckdbgenericsgluehmshttr2jsonlitelifecyclemagrittrmemuseomopgenericsopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangsnakecasestringistringrsystibbletidyrtidyselecttzdbutf8vctrsvroomwithrzip

Strategus Execution
Introduction | Database settings | CohortGenerator Module | TreatmentPatterns module | Execution

Last update: 2026-02-11
Started: 2026-02-11

Publications and Presentations
Publications | Presentations

Last update: 2026-02-11
Started: 2026-02-11

Evaluating Output
Saving results | Evaluating Results | treatmentPathways | countsAge, countsSex, and countsYear | summaryStatsTherapyDuration | metadata | Sunburst Plot & Sankey Diagram

Last update: 2025-08-25
Started: 2025-06-04

Best practices
Introduction | TLDR | Cohorts | Combinations | Settings

Last update: 2025-06-04
Started: 2025-06-04

Computing Pathways
Target and Event cohorts | Database interface | CDMConnector | DatabaseConnector | Analysis | Events | Combinations | Non-Significant Overlap | Overlap Method | Acute and Therapy Splits | Event Windows | Anchoring | windowStart and windowEnd | Changing the anchoring | Pathways | Running the analysis

Last update: 2025-06-04
Started: 2025-06-04

Defining Cohorts
ATLAS | Cohort information | Viral Sinusitis Cohort parameters | Cohort Entry Events | Inclusion Criteria | Cohort Exit | Cohort Eras | CapR | Cohorts for TreatmentPatterns

Last update: 2025-06-04
Started: 2025-06-04

Exporing Results
Exporting result objects | minCellCount and censorType | ageWindow | archiveName | Patient-Level Export

Last update: 2025-06-04
Started: 2025-06-04

Readme and manuals

Help Manual

Help pageTopics
computePathwayscomputePathways
createSankeyDiagramcreateSankeyDiagram
createSunburstPlotcreateSunburstPlot
doEraCollapseNewdoEraCollapseNew
executeTreatmentPatternsexecuteTreatmentPatterns
exportexport
exportPatientLevelexportPatientLevel
getResultsDataModelSpecificationsgetResultsDataModelSpecifications
ggSunburstggSunburst
plotEventDurationplotEventDuration
TreatmentPatternsResults ClassTreatmentPatternsResults