apply.term.filters: Apply a list of term filters to a given plotting context

Description Usage Arguments Value Examples

Description

Apply a list of term filters to a given plotting context

Usage

1
2
apply.term.filters(hpo.terms, plotting.context, term.filters,
  starting.terms = NULL)

Arguments

hpo.terms

R-Object representation of HPO

plotting.context

List object with hpo.phenotypes slot for list of character vectors of terms

term.filters

List of term filtering functions

starting.terms

Character vector of HPO term codes to filter. Defaults to all terms in the ‘hpo.phenotypes’ element of plotting.context, if it is present

Value

Character vector of terms

Examples

1
2
3
data(hpo.terms)
apply.term.filters(hpo.terms=hpo.terms, plotting.context=list(
hpo.phenotypes=list(Case1="HP:0001873")), term.filters=list(remove.links))

Example output

[1] "HP:0001873"

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