gosec: Get a GO secondary ID from an id.

View source: R/ontology_shared.R

gosecR Documentation

Get a GO secondary ID from an id.

Description

Unfortunately, GOTERM's returns for secondary IDs are not consistent, so this function has to have a whole bunch of logic to handle the various outputs.

Usage

gosec(go = "GO:0032432")

Arguments

go

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

Value

Some text comprising the secondary GO id(s).

See Also

[AnnotationDbi] [GO.db]

Examples

## Not run: 
 gosec("GO:0032432")
 ## > GO:0032432
 ## > "GO:0000141" "GO:0030482"

## End(Not run)

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