Package: CohortSymmetry 0.4.0

Danielle Newby

CohortSymmetry: Sequence Symmetry Analysis Using the Observational Medical Outcomes Partnership Common Data Model

Calculates crude sequence ratios, adjusted sequence ratios and confidence intervals using data mapped to the Observational Medical Outcomes Partnership Common Data Model. The methodology for sequence symmetry analysis is described by Pratt et al. (2015) <doi:10.1002/pds.3780> and Hendrix et al. (2024) <doi:10.1186/s12874-023-02108-y>.

Authors:Danielle Newby [aut, cre], Xihang Chen [aut], Tyman Stanford [aut], Berta Raventós [aut], Nicole Pratt [aut], Ed Burn [aut], Marti Català [aut], Núria Mercadé-Besora [aut], Mike Du [aut], Yuchen Guo [aut], Kim Lopez [aut], Marta Alcalde-Herraiz [aut]

CohortSymmetry_0.4.0.tar.gz
CohortSymmetry_0.4.0.zip(r-4.7-any)CohortSymmetry_0.4.0.zip(r-4.6-any)CohortSymmetry_0.4.0.zip(r-4.5-any)
CohortSymmetry_0.4.0.tgz(r-4.6-any)CohortSymmetry_0.4.0.tgz(r-4.5-any)
CohortSymmetry_0.4.0.tar.gz(r-4.7-any)CohortSymmetry_0.4.0.tar.gz(r-4.6-any)
CohortSymmetry_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
CohortSymmetry/json (API)

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

Bug tracker:https://github.com/ohdsi/cohortsymmetry/issues

Pkgdown/docs site:https://ohdsi.github.io

On CRAN:

Conda:

6.58 score 2 stars 749 downloads 8 exports 42 dependencies

Last updated from:67fe32fb17. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK223
source / vignettesOK247
linux-releaseOK176
macos-releaseOK161
macos-oldrelOK2144
windows-develOK112
windows-releaseOK112
windows-oldrelOK114
wasm-releaseOK149

Exports:mockCohortSymmetryplotSequenceRatiosplotTemporalSymmetrysequenceCohortsummariseSequenceRatiossummariseTemporalSymmetrytableSequenceRatiostableTemporalSymmetry

Dependencies:arrowassertthatbitbit64blobclicliprclockcpp11crayonDBIdbplyrdplyrgenericsglueherehmslifecyclemagrittromockomopgenericsPatientProfilespillarpkgconfigprettyunitsprogresspurrrR6readrrlangrprojrootsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Introduction to CohortSymmetry
As a diagram

Last update: 2026-11-19
Started: 2024-04-22

Step 1. Generate a sequence cohort
Introduction | Create a cdm object | Instantiate two cohorts in the cdm reference | Generate a sequence cohort | No specific requirements | Important Observations | Specified study period | Specified study period and prior history requirement | Specified study period, prior history requirement and washout period | Specified study period, prior history requirement and combination window | Specified study period, prior history requirement and index marker gap

Last update: 2026-11-19
Started: 2024-10-15

Step 2. Obtain the sequence ratios
Introduction | Obtain sequence ratios

Last update: 2026-11-19
Started: 2024-05-28

Step 3. Visualise the sequence ratios
Introduction | Table output of the sequence ratio results | Modify type | Plot output of the sequence ratio results | Modify onlyASR and colours

Last update: 2026-11-19
Started: 2024-05-28

Step 4: Obtain aggregated data on temporal symmetry
Introduction | Obtaining temporal symmetry | Modify days

Last update: 2026-11-19
Started: 2024-05-28

Step 5: Visualise temporal symmetry
Introduction

Last update: 2026-11-19
Started: 2024-05-28