Learn R Programming

hpoPlot (version 2.2)

n.most.frequent.terms: Select most frequently annotated terms from a set of phenotypes

Description

Select most frequently annotated terms from a set of phenotypes

Usage

n.most.frequent.terms(hpo.terms, terms, plotting.context, n)

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
n
Integer

Value

  • Character vector of length at most n

See Also

remove.terms.with.less.than.n.occurrences, remove.uninformative.for.plot

Examples

Run this code
data(hpo.terms)
n.most.frequent.terms(hpo.terms, c("HP:0001873"),
	list(hpo.phenotypes=list("HP:0001873", "HP:0001902")), n=2)

Run the code above in your browser using DataLab