Learn R Programming

hpoPlot (version 2.2)

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

Description

Get an adjacency to MRCA matrix for set of HPO terms

Usage

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

Arguments

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

Value

  • A logical matrix represenging the directed adjacency matrix of terms based on DAG structure of HPO, whereby a TRUE entry signifies the term correspnding to the column is MRCA of the row term in terms

See Also

get.term.adjacency.matrix

Examples

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

Run the code above in your browser using DataLab