powered by
Intersect a set of terms with the descendants of a given set of roots
intersection_with_descendants(ontology, roots, terms)
Character vector of terms
ontology_index object.
ontology_index
Character vector of IDs for terms with respect to which descendants are to be defined.
Character vector of ontological terms.
exclude_descendants, prune_descendants
exclude_descendants
prune_descendants
data(hpo) intersection_with_descendants(hpo, c("HP:0001872", "HP:0000707"), c("HP:0001873", "HP:0011877"))
Run the code above in your browser using DataLab