The goal of CohortContrast is to facilitate the comparison between cohorts in specified domains across all OMOP CDM datasets. It enables users to analyze and visualize the contrast between target and control cohorts effectively.
Install the released version from CRAN:
install.packages("CohortContrast")
The development version remains available from GitHub:
# install.packages("devtools")
# devtools::install_github("HealthInformaticsUT/CohortContrast")
install.packages("CohortContrast", repos = c('https://healthinformaticsut.r-universe.dev', 'https://cloud.r-project.org'))
For complete setup and workflow code, use:
If you are running CohortContrast on an air-gapped server, see the wiki article here: https://github.com/HealthInformaticsUT/CohortContrast/wiki
The CohortContrast package generates the following outputs:
CohortContrast returns a list of tables (patient level
summarised data for target and control) and saves a study folder with
parquet files that can be analysed in the GUI directly.runCohortContrastViewer generates plots
from parquet-formatted results.inst/example/st.CohortContrast provides much more insight generation possibilities. See the package site for details: https://healthinformaticsut.github.io/CohortContrast/
For feature requests create issues on Github or contact Markus Haug (markus.haug@ut.ee) personally. Bug reports can be opened at https://github.com/HealthInformaticsUT/CohortContrast/issues.