makeBackground: Make a background list of genes (i.e., the statistical...

View source: R/gmt.r

makeBackgroundR 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]

ActivePathways documentation built on Nov. 2, 2023, 5:12 p.m.