subsetOriginalData {MetaIntegrator}R Documentation

Subset samples for a particular dataset

Description

Subset samples for a particular dataset

Usage

subsetOriginalData(datasetObject, keepMe)

Arguments

datasetObject

the Dataset object to subset

keepMe

either a binary vector for whether each sample should be in the subset or a list of names of samples to be in the subset

Details

Subsets all relevant slots within the Dataset object to include only the desired samples.

Value

returns a Dataset object that has been subsetted to the desired samples

Author(s)

Winston A. Haynes

Examples

subsetObject <- subsetOriginalData(tinyMetaObject$originalData$Whole.Blood.Study.1, 
   keepMe= c("Sample 1", "Sample 13", "Sample 43"))

[Package MetaIntegrator version 2.1.3 Index]