View source: R/tableLargeScaleCharacteristics.R
| tableTopLargeScaleCharacteristics | R Documentation |
Visualise the top concepts per each cdm name, cohort, statification and window.
tableTopLargeScaleCharacteristics(result, topConcepts = 10, type = "gt")
result |
A summarised_result object. |
topConcepts |
Number of concepts to restrict the table. |
type |
Type of table, it can be any of the supported
|
A formated table.
## Not run:
library(CohortCharacteristics)
library(omock)
libarry(CDMConnector)
library(dplyr, warn.conflicts = FALSE)
cdm <- mockCdmFromDataset(datasetName = "GiBleed", source = "duckdb")
cdm <- generateConceptCohortSet(
cdm = cdm,
conceptSet = list(viral_pharyngitis = 4112343),
name = "my_cohort"
)
result <- summariseLargeScaleCharacteristics(
cohort = cdm$my_cohort,
window = list(c(-Inf, -1), c(0, 0), c(1, Inf)),
episodeInWindow = "drug_exposure"
)
tableTopLargeScaleCharacteristics(result)
cdmDisconnect(cdm)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.