powered by
Helper function to build the class vector
classFunction(datasetObject, column, diseaseTerms)
the Dataset object to build a class vector for
column from the $pheno slot to look for the disease terms
a list of terms identifying the disease samples
returns a Dataset object that has a class vector inserted
Based on a defined set of disease terms, builds a class vector.
# NOT RUN { classObj <- classFunction(tinyMetaObject$originalData$Whole.Blood.Study.1, column="group", diseaseTerms=c("Disease")) # }
Run the code above in your browser using DataLab