powered by
Subset samples for a particular dataset
subsetOriginalData(datasetObject, keepMe)
the Dataset object to subset
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
returns a Dataset object that has been subsetted to the desired samples
Subsets all relevant slots within the Dataset object to include only the desired samples.
# NOT RUN { subsetObject <- subsetOriginalData(tinyMetaObject$originalData$Whole.Blood.Study.1, keepMe= c("Sample 1", "Sample 13", "Sample 43")) # }
Run the code above in your browser using DataLab