get.descendants: Get set of all descendants of single term

Description Usage Arguments Value See Also Examples

Description

Get set of all descendants of single term

Usage

1
get.descendants(hpo.terms, ancestor, remove.ancestor = FALSE)

Arguments

hpo.terms

R-Object representation of HPO

ancestor

Character vector of length 1 - the HPO code of the term whose descendants you wish to retrieve

remove.ancestor

Boolean indicating whether to remove the given ancestor or not

Value

Character vector of terms

See Also

link{get.ancestors}

Examples

1
2
data(hpo.terms)
get.descendants(hpo.terms, ancestor=c("HP:0001873"))

Example output

[1] "HP:0001873" "HP:0001905" "HP:0001973" "HP:0004809" "HP:0004813"
[6] "HP:0004854" "HP:0004859" "HP:0011874"

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