rfherrerac / TreatmentPatterns

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

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.

Development status

Under development, this is a beta-version of the TreatmentPatterns package.

About

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


Languages

Language:R 74.0%Language:HTML 26.0%