Description Usage Arguments Value Author(s) Examples
Extracts the complemented ExpressionSet when biosign has been applied to an ExpressionSet
1 2 | ## S4 method for signature 'biosign'
getEset(object)
|
object |
An S4 object of class |
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 computed tiers for each feature and each classifier.
Etienne Thevenot, etienne.thevenot@cea.fr
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ## loading the diaplasma dataset
data(diaplasma)
attach(diaplasma)
## building the ExpresssionSet instance
diaSet <- Biobase::ExpressionSet(assayData = t(dataMatrix),
phenoData = new("AnnotatedDataFrame",
data = sampleMetadata),
featureData = new("AnnotatedDataFrame",
data = variableMetadata),
experimentData = new("MIAME",
title = "diaplasma"))
## restricting to a smaller dataset for this example
featureSelVl <- variableMetadata[, "mzmed"] >= 490 & variableMetadata[, "mzmed"] < 500
diaSet <- diaSet[featureSelVl, ]
## signature selection for all 3 classifiers
## a bootI = 5 number of bootstraps is used for this example
## we recommend to keep the default bootI = 50 value for your analyzes
set.seed(123)
diaSign <- biosign(diaSet, "type", bootI = 5)
diaSet <- biosigner::getEset(diaSign)
head(Biobase::pData(diaSet))
head(Biobase::fData(diaSet))
detach(diaplasma)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.