getOntology {mdgsa} | R Documentation

## 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.

### Details

Uses the library GO.db.

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

### Value

A character vector with the corresponding GO names.

### Author(s)

David Montaner dmontaner@cipf.es

### See Also

`getGOnames`, `propagateGO`, `goLeaves`, `splitOntologies`, `getKEGGnames`

### Examples

    getOntology (c("GO:0000018", "GO:0005788", "BAD_GO"))

[Package mdgsa version 1.20.0 Index]