goont: Get a go ontology name from an ID.

View source: R/ontology_shared.R

goontR Documentation

Get a go ontology name from an ID.

Description

Get a go ontology name from an ID.

Usage

goont(go = c("GO:0032432", "GO:0032433"))

Arguments

go

GO id, this may be a character or list (assuming the elements are goids).

Value

The set of ontology IDs associated with the GO ids, thus 'MF' or 'BP' or 'CC'.

See Also

[AnnotationDbi] [GO.db]

Examples

## Not run: 
 goont(c("GO:0032432", "GO:0032433"))
 ## > GO:0032432 GO:0032433
 ## > "CC" "CC"

## End(Not run)

elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.