subsetOriginalData: Subset samples for a particular dataset

Description Usage Arguments Details Value Author(s) Examples

View source: R/subsetOriginalData.R

Description

Subset samples for a particular dataset

Usage

1
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

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

MetaIntegrator documentation built on March 26, 2020, 6:29 p.m.