subsetByFeatures: Subset a GeneSetDb to only include geneSets with specified...

Description Usage Arguments Value Examples

Description

Subset a GeneSetDb to only include geneSets with specified features.

Usage

1
subsetByFeatures(x, features, value = c("feature_id", "x.id", "x.idx"), ...)

Arguments

x

GeneSetDb

featureIds

Character vector of featureIds

Value

A subset of x which contains only the geneSets that contain features found in featureIds

Examples

1
2
3
gdb <- exampleGeneSetDb()
features <- c("55839", "8522", "29087")
(gdb.sub <- subsetByFeatures(gdb, features))

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