Helper function to build the class vector
classFunction(datasetObject, column, diseaseTerms)
datasetObject
: the Dataset object to build a class vector forcolumn
: column from the $pheno slot to look for the disease termsdiseaseTerms
: a list of terms identifying the disease samplesreturns a Dataset object that has a class vector inserted
Based on a defined set of disease terms, builds a class vector.
classObj <- classFunction(tinyMetaObject$originalData$Whole.Blood.Study.1, column="group", diseaseTerms=c("Disease"))
Winston A. Haynes