Learn R Programming

hpoPlot (version 2.2)

get.term.adjacency.matrix: Get an adjacency for set of HPO terms

Description

Get an adjacency for set of HPO terms

Usage

get.term.adjacency.matrix(hpo.terms, terms)

Arguments

hpo.terms
R-Object representation of HPO
terms
Character vector of HPO terms

Value

  • A logical matrix representing the directed adjacency matrix of terms based on DAG structure of HPO, whereby a TRUE entry signifies that the term corresponding to the column is a parent term of the term correspnding to the row.

See Also

get.term.pseudo.adjacency.matrix

Examples

Run this code
data(hpo.terms)
get.term.adjacency.matrix(hpo.terms, c("HP:0000118", "HP:0001873", "HP:0011877"))

Run the code above in your browser using DataLab