getEset {ropls} | R Documentation |
Extracts the complemented ExpressionSet when opls has been applied to an ExpressionSet
getEset(object, ...) ## S4 method for signature 'opls' getEset(object)
object |
An S4 object of class |
... |
Currently not used |
An S4 object of class ExpressionSet
which contains the dataMatrix (t(exprs(eset))),
and the sampleMetadata (pData(eset)) and variableMetadata (fData(eset)) with the additional columns
containing the scores, predictions, loadings, VIP, coefficients etc.
Etienne Thevenot, etienne.thevenot@cea.fr
data(sacurine) attach(sacurine) sacSet <- Biobase::ExpressionSet(assayData = t(dataMatrix), phenoData = new("AnnotatedDataFrame", data = sampleMetadata), featureData = new("AnnotatedDataFrame", data = variableMetadata), experimentData = new("MIAME", title = "sacurine")) sacPlsda <- opls(sacSet, "gender") sacSet <- getEset(sacPlsda) head(Biobase::pData(sacSet)) head(Biobase::fData(sacSet)) detach(sacurine)