golev: Get a go level approximation from an ID.

View source: R/ontology_shared.R

golevR Documentation

Get a go level approximation from an ID.

Description

Sometimes it is useful to know how far up/down the ontology tree a given id resides. This attmepts to answer that question.

Usage

golev(go)

Arguments

go

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

Value

Set of numbers corresponding to approximate tree positions of the GO ids.

See Also

[AnnotationDbi] [GO.db]

Examples

## Not run: 
 golev("GO:0032559")
 ## > 3

## End(Not run)

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