getGOInfo: Obtain GO terms and their description for a list of genes.

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/geneSimilarity.R

Description

Oobtain the GO terms and their description for a list of genes.

Usage

1
getGOInfo(geneIDs)

Arguments

geneIDs

character vector of primary gene IDs according to organism annotation package (see setEvidenceLevel)

Value

List with entry names equal to the gene IDs. Each list contains a sublist with entry names equal to the GO terms associated to the corresponding gene ID. Each entry also contains a description of the GO term, its definition and the ontology ("BP","CC","MF") it belongs to.

Note

The corresponding information is directly extracted from the "GO" library. The result depends on the currently set ontology ("BP","MF","CC"), i.e. only GO terms within the actual ontology are considered. The shown GO information refers to the actually installed GO library.

Author(s)

Holger Froehlich

See Also

setOntology

Examples

1
2
3
4
 if(require(annotate)){
 	setOntology("BP")
 	getGOInfo(c("207","7494"))
 }

GOSim documentation built on Nov. 8, 2020, 11:05 p.m.