Learn R Programming

hpoPlot (version 2.2)

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

Description

Get set of all descendants of single term

Usage

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

Run this code
data(hpo.terms)
get.descendants(hpo.terms, ancestor=c("HP:0001873"))

Run the code above in your browser using DataLab