makeBackground {ActivePathways} | R Documentation |
Make a background list of genes (i.e., the statistical universe) based on all the terms (gene sets, pathways) considered.
Description
Returns A character vector of all genes in a GMT object.
Usage
makeBackground(gmt)
Arguments
gmt |
A GMT object. |
Value
A character vector containing all genes in GMT.
Examples
fname_GMT <- system.file("extdata", "hsapiens_REAC_subset.gmt", package = "ActivePathways")
gmt <- read.GMT(fname_GMT)
makeBackground(gmt)[1:10]
[Package ActivePathways version 2.0.5 Index]