Get set of all ancestors of set of terms

Share:

Description

Get set of all ancestors of set of terms

Usage

1

Arguments

hpo.terms

R-Object representation of HPO

terms

Character vector of HPO terms

Value

Character vector of all HPO terms which are an ancestor of at least one term in terms, including the terms themselves

See Also

link{get.descendants}

Examples

1
2
data(hpo.terms)
get.ancestors(hpo.terms, c("HP:0001873", "HP:0011877"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.