processCohortDefinitionsForQuarto: Function processes the cohortDefinitions object ready for use...

View source: R/CohortQueries.R

processCohortDefinitionsForQuartoR Documentation

Function processes the cohortDefinitions object ready for use in the main quarto report.

Description

Function processes the cohortDefinitions object ready for use in the main quarto report.

Usage

processCohortDefinitionsForQuarto(
  cohortDefinitions,
  friendlyCohortIds,
  friendlyCohortNames,
  restrictTargetToIndications,
  indicationIds
)

Arguments

cohortDefinitions

The output of 'getCohortDefinitions()'

friendlyCohortIds

a vector of parent cohort ids that you want to rename

friendlyCohortNames

a vector of new names for the friendlyCohortIds

restrictTargetToIndications

whether to restrict the results to cohorts nested in certain indications

indicationIds

The indication ids of interest for restrictTargetToIndications

Details

Function processes the cohortDefinitions object by adding friendly names for specified parent cohorts, determines which cohorts are nested in the specified indication cohort ids and ...

Value

A cohortDefinitions object with extra columns: friendlyName,

See Also

Other Cohorts: getCohortAttrition(), getCohortCounts(), getCohortDefinitions(), getCohortInclusionRules(), getCohortInclusionStats(), getCohortInclusionSummary(), getCohortMeta(), getCohortSubsetAttrition(), getCohortSubsetDefinitions(), getSubsetText(), processCohorts(), restrictCohortDefinitionsForQuarto()


OhdsiReportGenerator documentation built on Nov. 14, 2026, 1:09 a.m.