powered by
Get set of terms containing all descendants of terms in a given set
get_descendants(ontology, roots, exclude_roots = FALSE)
Character vector of terms
ontology_index object.
ontology_index
Character vector of IDs for terms with respect to which descendants are to be defined.
Boolean determining whether to remove the given roots terms from the result.
roots
link{get_ancestors}
data(hpo) get_descendants(hpo, roots="HP:0001873")
Run the code above in your browser using DataLab