exclude_descendants {ontologyIndex} | R Documentation |
Exclude terms descending from any in a given set of root terms
Description
Exclude from set terms
, any terms that are either in, or descend from one of, the set roots
.
Usage
exclude_descendants(ontology, roots, terms)
Arguments
ontology |
|
roots |
Character vector of IDs for terms with respect to which descendants are to be defined. |
terms |
Character vector of ontological terms. |
Value
Character vector of terms
See Also
intersection_with_descendants
, prune_descendants
[Package ontologyIndex version 2.12 Index]