View source: R/CharacterzationQueries.R
| characterizationCompareContinuous | R Documentation |
A function to extract cohort aggregate continuous feature characterization results
characterizationCompareContinuous(
connectionHandler,
schema,
cTablePrefix = "c_",
cgTablePrefix = "cg_",
databaseTable = "database_meta_data",
characterizationTargetIds = NULL,
databaseIds = NULL,
minThreshold = 0
)
connectionHandler |
A connection handler that connects to the database and extracts sql queries. Create a connection handler via 'ResultModelManager::ConnectionHandler$new()'. |
schema |
The result database schema (e.g., 'main' for sqlite) |
cTablePrefix |
The prefix used for the characterization results tables |
cgTablePrefix |
The prefix used for the cohort generator results tables |
databaseTable |
The name of the table with the database details (default 'database_meta_data') |
characterizationTargetIds |
(optional) The characterization target ids |
databaseIds |
(optional) One or more unique identifiers for the databases |
minThreshold |
The minimum fraction of the cohort that must have the feature for it to be reported |
Specify the connectionHandler, the schema and the target cohort ID and database id
A data.frame with the characterization aggregate continuous features for a specific cohort and database
Other Characterization:
characterizationCompareBinary(),
getAggregateBinaryRiskFactors(),
getAggregateContinuousRiskFactors(),
getBinaryCaseSeries(),
getBinaryRiskFactors(),
getBinaryTargetBaseline(),
getCaseCounts(),
getCharacterizationCaseSettings(),
getCharacterizationDemographics(),
getCharacterizationTargetSettings(),
getContinuousCaseSeries(),
getContinuousRiskFactors(),
getContinuousTargetBaseline(),
getDechallengeRechallenge(),
getDechallengeRechallengeFails(),
getIncidenceRates(),
getIncidenceTargetSettings(),
getNonCaseCounts(),
getOutcomesUsedInCharacterization(),
getOutcomesUsedInIncidence(),
getTargetCounts(),
getTargetsUsedInCharacterization(),
getTargetsUsedInIncidence(),
getTimeToEvent(),
plotAgeDistributions(),
plotSexDistributions(),
viewIncidenceRate()
conDet <- getExampleConnectionDetails()
connectionHandler <- ResultModelManager::ConnectionHandler$new(conDet)
binCohort <- characterizationCompareContinuous(
connectionHandler = connectionHandler,
schema = 'main',
characterizationTargetIds = 1,
databaseIds = 'eunomia'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.