geneSets: Fetch the active (or all) gene sets from a GeneSetDb or...

Description Usage Arguments Value Examples

Description

Fetch the active (or all) gene sets from a GeneSetDb or MultiGSEAResult

Usage

1
2
3
4
geneSets(x, ...)

## S4 method for signature 'GeneSetDb'
geneSets(x, active.only = is.conformed(x), ..., as.dt = FALSE)

Arguments

x

Object to retrieve the gene set from, either a GeneSetDb or a MultiGSEAResult.

active.only

only look for gene sets that are "active"? Defaults to TRUE if x is conformed to a target expression object, else FALSE. conform() for further details.

as.dt

If FALSE (default), the data.frame like thing that this funciton returns will be set to a data.frame. Set this to TRUE to keep this object as a data.table

Value

a data.table with geneset information.

Examples

1
2
gdb <- exampleGeneSetDb()
gs <- geneSets(gdb)

lianos/multiGSEA documentation built on Nov. 17, 2020, 1:26 p.m.