Description Usage Arguments Value Author(s)
Will look up in the hierarchy until the root is reached.
1 | get_parents(ontology, id, root = "DOID:4", include_entry = FALSE)
|
ontology |
A list (of class ontology) in which to look |
id |
The identifier of the term to look up (character string) |
root |
The identifier of the root entry. Defaults to "DOID:4", which is the term "disease" in the disease ontology (http://www.disease-ontology.org/). |
include_entry |
Should the term to look up be included in the results? Defaults to FALSE |
Outputs a dataframe with identifiers, descriptions, and depth.
Daniel Lindholm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.