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

Description Usage Arguments Value See Also Examples

Description

Get an adjacency for set of HPO terms

Usage

1

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

1
2
data(hpo.terms)
get.term.adjacency.matrix(hpo.terms, c("HP:0000118", "HP:0001873", "HP:0011877"))

Example output

           HP:0000118 HP:0001873 HP:0011877
HP:0000118      FALSE      FALSE      FALSE
HP:0001873      FALSE      FALSE      FALSE
HP:0011877      FALSE      FALSE      FALSE

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