Description Usage Arguments Value Examples
Check that the table contains the mandatory columns
and keep only rows (cohorts) with the specified ancestry pop
.
If pop=="ALL"
, all rows are kept.
1 | preparePhenoTable(df, ancest, pheno, expo)
|
df |
is the loaded data frame with individual cohorts information |
ancest |
is the ancestry analyzed |
pheno |
is the studied phenotype |
expo |
is the studied exposure |
The data frame with only rows corresponding to the studied population ancest
and colums corresponding to the studied phenotype pheno
and exposure expo
1 2 | data("COHORT", package="VarExp", envir = environment())
df = preparePhenoTable(COHORT, "EUR", "pheno1", "expo1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.