getGS {methylGSA} | R Documentation

## Get Gene Sets

### Description

This function gets gene sets information.

### Usage

    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

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

[Package methylGSA version 1.10.0 Index]