Description Usage Arguments Value Author(s)
Looks up where in the ontology tree (at which depth) a term is.
1 | get_depth(ontology, id, root = "DOID:4")
|
ontology |
A list (of class ontology) in which to look |
id |
The identifier of the term to look up (character string) |
root |
Identifier of the root. |
Outputs a numeric value, corresponding to the depth, where 1 is the root.
Daniel Lindholm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.