subEset {GOexpress} | R Documentation |
Given a list of column names and corresponding values present in the phenoData slot of an ExpressionSet object, this method returns the subset of the ExpressionSet restricted to samples associated with the given values in the given columns.
subEset(eSet, subset = list())
eSet |
|
subset |
A named list to subset |
A subset of the given ExpressionSet restricted to samples associated with the given values in the given columns
Kevin Rue-Albrecht
Class ExpressionSet
.
# Load example data set data(AlvMac) # Subset it to only samples of "CN" and "MB" treatments, and also only "2H", # "6H", and "24H" time-points sub.AlvMac <- subEset( eSet=AlvMac, subset=list( Treatment=c("CN","MB"), Time=c("2H","6H") ) )