geneSets {sparrow} | 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.
GeneSetDb
: Returns the number of genesets in a GeneSetDb
GeneSetDb
: return all genesets from a GeneSetDb
GeneSetDb
: return number of genesets in GeneSetDb
SparrowResult
: return the active genesets from a SparrowResult
gdb <- exampleGeneSetDb() gs <- geneSets(gdb)