Learn R Programming

ActivePathways (version 2.0.5)

makeBackground: 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)

Value

A character vector containing all genes in GMT.

Arguments

gmt

A GMT object.

Examples

Run this code
  fname_GMT <- system.file("extdata", "hsapiens_REAC_subset.gmt", package = "ActivePathways")
  gmt <- read.GMT(fname_GMT)
  makeBackground(gmt)[1:10]

Run the code above in your browser using DataLab