prepareResultTable: Check that the table contains the mandatory columns and keep...

Description Usage Arguments Value Examples

View source: R/varFrac.R

Description

Check that the table contains the mandatory columns and keep only rows (cohorts) with the specified ancestry pop, the specified phenoype pheno and the specified exposure expo

Usage

1
prepareResultTable(df, ancest, pheno, expo)

Arguments

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

Value

The data frame with only rows corresponding to the studied population ancest and to the studied phenotype pheno and exposure expo

Examples

1
2
data("GWAS", package="VarExp", envir = environment())
df = prepareResultTable(GWAS, "EUR", "pheno1", "expo1")

vincela/VarExp documentation built on May 29, 2019, 12:42 p.m.