View source: R/GeneSetDb-methods.R
subset.GeneSetDb | R Documentation |
This is a utility function that is called by [.GeneSetDb
and is not
exported because it is not meant for external use.
## S3 method for class 'GeneSetDb'
subset(x, keep)
x |
a |
keep |
logical vector as long as |
DEBUG: If keep
is all FALSE, this will explode. What does an empty
GeneSetDb look like, anyway? Something ...
We want to support a better, more fluent subsetting of GeneSetDb objects. See Issue #12 (https://github.com/lianos/multiGSEA/issues/12)
a GeneSetDb
that has only the results for the specified
genesets.
gdb.all <- exampleGeneSetDb()
gs <- geneSets(gdb.all)
gdb <- gdb.all[gs$collection %in% c("c2", "c7")]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.