getGS {methylGSA} | R Documentation |
This function gets gene sets information.
getGS(geneids, GS.type)
geneids |
A vector contains all gene ids of interest. Gene ids should be gene symbol. |
GS.type |
A string. "GO", "KEGG", or "Reactome". |
A list contains all gene sets of interest and their corresponding genes.
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.
geneids = c("FKBP5", "NDUFA1", "STAT5B") GO.list = getGS(geneids, "KEGG") head(GO.list)