Learn R Programming

mdgsa (version 1.4.2)

getOntology: Get GO term Ontology

Description

Finds the ontology of a term from its id.

Usage

getOntology(x, verbose = TRUE)

Arguments

x
a character vector of GO ids.
verbose
verbose.

Value

  • A character vector with the corresponding GO names.

Details

Uses the library GO.db.

x may be a data.frame. In such case, GO ids are expected in its row names.

See Also

getGOnames, propagateGO, goLeaves, splitOntologies, getKEGGnames

Examples

Run this code
getOntology (c("GO:0000018", "GO:0005788", "BAD_GO"))

Run the code above in your browser using DataLab