genes,GSVA-method | R Documentation |
gene method
## S4 method for signature 'GSVA'
genes(
object,
features,
useTerm = TRUE,
with.expr = TRUE,
assay = NULL,
slot = "counts"
)
object |
GSVA object |
features |
A vector of features to extract |
useTerm |
use Term or use id (default: TRUE) |
with.expr |
extract the expression value or not (default: TRUE) |
assay |
Assay to use in GSVA analysis ('RNA','SCT' or 'Spatial' if spatial transcriptomics) |
slot |
Specific assay data to get or set |
data.frame
Kai Guo
## Not run:
data(pbmc_small)
hsako<-buildAnnot(species="human",keytype="SYMBOL",anntype = "KEGG")
res<-scgsva(pbmc_small, hsako)
head(genes(res,"Acute myeloid leukemia"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.