get.ancestors: Get set of all ancestors of set of terms

Description Usage Arguments Value See Also Examples

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"))

Example output

[1] "HP:0001873" "HP:0011873" "HP:0001872" "HP:0001871" "HP:0000118"
[6] "HP:0000001" "HP:0011877" "HP:0011876"

hpoPlot documentation built on May 2, 2019, 5:52 a.m.