geneSets | R Documentation |
Fetch the active (or all) gene sets from a GeneSetDb or SparrowResult
geneSets(x, ...)
## S4 method for signature 'GeneSetDb'
length(x)
## S4 method for signature 'GeneSetDb'
geneSets(x, active.only = is.conformed(x), ..., as.dt = FALSE)
## S4 method for signature 'GeneSetDb'
nrow(x)
## S4 method for signature 'SparrowResult'
geneSets(x, ..., as.dt = FALSE)
x |
Object to retrieve the gene set from, either a |
... |
pass through arguments |
active.only |
only look for gene sets that are "active"? Defaults to
|
as.dt |
If |
a data.table with geneset information.
length(GeneSetDb)
: Returns the number of genesets in a GeneSetDb
geneSets(GeneSetDb)
: return all genesets from a GeneSetDb
nrow(GeneSetDb)
: return number of genesets in GeneSetDb
geneSets(SparrowResult)
: return the active genesets from a SparrowResult
gdb <- exampleGeneSetDb()
gs <- geneSets(gdb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.