exclude_descendants: Exclude terms descending from any in a given set of root...

View source: R/descendants.R

exclude_descendantsR 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

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.

Value

Character vector of terms

See Also

intersection_with_descendants, prune_descendants


ontologyIndex documentation built on July 4, 2024, 1:08 a.m.