classFunction function

Helper function to build the class vector

Helper function to build the class vector

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

Returns

returns a Dataset object that has a class vector inserted

Details

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

Examples

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

Author(s)

Winston A. Haynes