get_ancestors | R Documentation |
Get set of terms containing all ancestors of terms in a given set
get_ancestors(ontology, terms)
ontology |
|
terms |
Character vector of ontological terms. |
Character vector of all terms which are an ancestor of at least one term in terms
, including the terms themselves
link{get_descendants}
data(hpo)
get_ancestors(hpo, c("HP:0001873", "HP:0011877"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.