classFunction: Helper function to build the class vector

Description Usage Arguments Details Value Author(s) Examples

View source: R/classFunction.R

Description

Helper function to build the class vector

Usage

1
classFunction(datasetObject, column, diseaseTerms)

Arguments

datasetObject

the Dataset object to build a class vector for

column

column from the $pheno slot to look for the disease terms

diseaseTerms

a list of terms identifying the disease samples

Details

Based on a defined set of disease terms, builds a class vector.

Value

returns a Dataset object that has a class vector inserted

Author(s)

Winston A. Haynes

Examples

1
2
classObj <- classFunction(tinyMetaObject$originalData$Whole.Blood.Study.1, 
   column="group", diseaseTerms=c("Disease"))

Example output



MetaIntegrator documentation built on March 26, 2020, 6:29 p.m.