Learn R Programming

hpoPlot (version 2.2)

swap.out.alt.ids: Remove alternate/deprecated HPO term IDs and swap for new ones

Description

Remove alternate/deprecated HPO term IDs and swap for new ones

Usage

swap.out.alt.ids(hpo.terms, terms, remove.dead = FALSE)

Arguments

hpo.terms
R-Object representation of HPO
terms
Character vector of HPO terms
remove.dead
Boolean to indicate whether to strip out terms which can't be found in the given hpo.terms database argument

Value

  • A directed adjacency matrix of terms based on DAG structure of HPO, whereby each term is considered adjacent to it's MRCA in terms

Examples

Run this code
data(hpo.terms)
swap.out.alt.ids(hpo.terms, c("HP:0001873"))

Run the code above in your browser using DataLab