View source: R/accessor-methods.R
| eigengenes | R Documentation |
This is the accessor function for retrieving the eigengenes calculated by the decon method.
eigengenes(object, pvalueCutoff = NULL)
object |
An object of class |
pvalueCutoff |
numeric value giving the p-value cutoff, below
which eigegenes are returned. If |
A matrix with as many rows as there are samples in object, and as
many columns as there were gene sets provided to decon.
J.A. Hackney
DeconResults, decon
## Not run:
library(GEOquery)
library(hgu133plus2.db)
### Get tissue/cell specific gene sets
deconGSC <- DeconGeneSetCollection()
### Dataset with mixed immune cell lines
GSE11058 <- getGEO("GSE11058")[[1]]
exprs(GSE11058) <- log2(exprs(GSE11058))
annotation(GSE11058) <- "hgu133plus2"
### Map the identifiers to Affymetrix probe sets
deconU133GSC <- mapIdentifiers(deconGSC, AnnotationIdentifier(),
revmap(hgu133plus2ENTREZID))
### Run the deconvolution algorithm
deconResults <- decon(GSE11058, ~1, deconU133GSC)
### Retrieve the results
eigengenes <- eigengenes(deconResults, pvalueCutoff = 0.05)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.