Learn R Programming

GOSim (version 1.10.0)

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

Description

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

Usage

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.

See Also

setOntology

Examples

Run this code

 if(require(annotate)){
 	setOntology("BP")
 	getGOInfo(c("207","7494"))
 }

Run the code above in your browser using DataLab