Learn R Programming

SubpathwayGMir (version 1.0)

getBackground: Get the background of molecules

Description

getBackground attempts to get the background of user-specified molecules.

Usage

getBackground(type = "gene_miRNA")

Arguments

type
A character string. Should be one of "gene", "miRNA" or "gene_miRNA".

Value

A character vector.

Details

The default background is obtained from the environment variable. For human, the reference gene background is all human genes in KEGG pathways. The reference miRNA background is collected from miRBase database.

See Also

identifyGraph

Examples

Run this code
## Not run: 
# ## get all background of genes
#  bgGene <- getBackground(type="gene")
# 
# ## get all background of miRNAs
#  bgMir  <- getBackground(type="miRNA")
# 
# ## get all background of miRNAs and genes
#  bgGMir <- getBackground(type="gene_miRNA")
# ## End(Not run)

Run the code above in your browser using DataLab