Learn R Programming

MetaIntegrator (version 2.1.3)

classFunction: 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

Value

returns a Dataset object that has a class vector inserted

Details

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

Examples

Run this code
# NOT RUN {
classObj <- classFunction(tinyMetaObject$originalData$Whole.Blood.Study.1, 
   column="group", diseaseTerms=c("Disease"))
# }

Run the code above in your browser using DataLab