getGOList: Get GO list of given genes

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Retrieve GO IDs based on given gene IDs.

Usage

1
getGOList(geneVector, lib, GOCat = c("ALL", "BP", "CC", "MF"), level = 1)

Arguments

geneVector

a character vector containing entrez IDs

lib

annotation library

GOCat

type of Gene Ontology

level

positive integer to specify how many levels GO IDs will be removed.

Details

User can specify which subtype of GO can be kept. "ALL" means all of subtypes are kept. Gene Ontology is a tree-like structure. Level can be used to remove top noncritical GO IDs.

Value

return a GO list, whose names are GO IDs. Elements are gene entrez IDs belonging to the corresponding GO categories.

Author(s)

Gang Feng, Pan Du and Simon Lin

References

Feng, G., Du, P., Krett, N., Tessel, M., Rosen, S., Kibbe, W.A. and Lin, S.M., 'A collection of bioconductor methods to visualize gene-list annotations', BMC Research Notes 2010, 3:10

See Also

getCategoryList

Examples

1
2
a <- getGOList(c('56458', '16590'), 'org.Mm.eg.db', GOCat='BP', level=2)
length(a)

GeneAnswers documentation built on Nov. 8, 2020, 4:53 p.m.