Introduction
After running a study with createOutputFiles = TRUE (or
generating summaries with precomputeSummary()), launch the
viewer:
exampleDataDir <- system.file("example", "st", package = "CohortContrast", mustWork = TRUE)
CohortContrast::runCohortContrastViewer(
dataDir = exampleDataDir
)
The bundled example studies include both patient-level and
summary-mode outputs:
patientStudyPath <- system.file("example", "st", "lc500", package = "CohortContrast")
summaryStudyPath <- system.file("example", "st", "lc500s", package = "CohortContrast")
# Check which mode the Viewer would detect for each bundled study.
data.frame(
study = c("lc500", "lc500s"),
mode = c(
CohortContrast::checkDataMode(patientStudyPath)$mode,
CohortContrast::checkDataMode(summaryStudyPath)$mode
)
)
#> study mode
#> 1 lc500 patient
#> 2 lc500s summary
This mirrors the mode badge shown in the Viewer after a study is
selected.
Mappings overview
In patient mode, the Mappings tab includes:
- Manual Merge: select main concepts in the
Map column, create a merged concept, and apply.
- Hierarchy Suggestions: tune hierarchy parameters,
click Update Hierarchy Suggestions, then merge selected
rows.
- Correlation Suggestions: tune correlation
parameters, click Update Correlation Suggestions, then
merge selected rows.
- Mapping History: audited list of applied
mappings.
Mappings tab with manual merge
Mappings tab with hierarchy and correlation
suggestions
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.