Learn R Programming

ontologyIndex (version 2.12)

exclude_descendants: 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)

Value

Character vector of terms

Arguments

ontology

ontology_index object.

roots

Character vector of IDs for terms with respect to which descendants are to be defined.

terms

Character vector of ontological terms.

See Also

intersection_with_descendants, prune_descendants