Learn R Programming

hpoPlot (version 2.4)

remove.links: Remove terms with exactly one parent and child from plot

Description

Remove terms with exactly one parent and child from plot

Usage

remove.links(hpo.terms, terms, plotting.context = NULL)

Arguments

hpo.terms
R-Object representation of HPO
terms
Character vector of HPO terms
plotting.context
List object with hpo.phenotypes slot for list of character vectors of terms

Value

Character vector

See Also

remove.terms.with.less.than.n.occurrences, n.most.frequent.terms

Examples

Run this code
data(hpo.terms)
remove.links(hpo.terms, c("HP:0001873"), list(hpo.phenotypes=list("HP:0001873", "HP:0001902")))

Run the code above in your browser using DataLab