getGS: Get Gene Sets

Description Usage Arguments Value References Examples

View source: R/getGS.R

Description

This function gets gene sets information.

Usage

1
getGS(geneids, GS.type)

Arguments

geneids

A vector contains all gene ids of interest. Gene ids should be gene symbol.

GS.type

A string. "GO", "KEGG", or "Reactome".

Value

A list contains all gene sets of interest and their corresponding genes.

References

Carlson M (2017). org.Hs.eg.db: Genome wide annotation for Human. R package version 3.5.0.

Ligtenberg W (2017). reactome.db: A set of annotation maps for reactome. R package version 1.62.0.

Examples

1
2
3
geneids = c("FKBP5", "NDUFA1", "STAT5B")
GO.list = getGS(geneids, "KEGG")
head(GO.list)

reese3928/methylGSA documentation built on May 10, 2021, 10:41 p.m.