get_descendants: Get set of terms containing all descendants of terms in a...

Description Usage Arguments Value See Also Examples

View source: R/descendants.R

Description

Get set of terms containing all descendants of terms in a given set

Usage

1
get_descendants(ontology, roots, exclude_roots = FALSE)

Arguments

ontology

ontology_index object.

roots

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

exclude_roots

Boolean determining whether to remove the given roots terms from the result.

Value

Character vector of terms

See Also

link{get_ancestors}

Examples

1
2
data(hpo)
get_descendants(hpo, roots="HP:0001873")

oganm/ontologyIndexOgfork documentation built on Oct. 11, 2019, 2:53 a.m.