prune_descendants | R Documentation |
Given two sets of terms, roots
and terms
, construct a set of terms containing those in terms
which do not descend from any term in roots
, and also any terms in roots
which are ancestors of any term in terms
.
prune_descendants(ontology, roots, terms)
ontology |
|
roots |
Character vector of IDs for terms with respect to which descendants are to be defined. |
terms |
Character vector of ontological terms. |
Character vector of terms
exclude_descendants
, intersection_with_descendants
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.