classFunction {MetaIntegrator} | R Documentation |
Helper function to build the class vector
Description
Helper function to build the class vector
Usage
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
classObj <- classFunction(tinyMetaObject$originalData$Whole.Blood.Study.1,
column="group", diseaseTerms=c("Disease"))
[Package MetaIntegrator version 2.1.3 Index]