Description Usage Arguments Value See Also Examples
Get an adjacency matrix for a set of ontological terms
1 | get_pseudo_adjacency_matrix(ontology, terms)
|
ontology |
|
terms |
Character vector of ontological terms |
A logical matrix representing the adjacency matrix of terms
based on the directed acyclic graph of ontology
. A TRUE
entry means the term correspnding to the column is a parent of the row term within terms
.
1 2 3 | library(ontologyIndex)
data(hpo)
get_pseudo_adjacency_matrix(hpo, c("HP:0000118", "HP:0001873", "HP:0011877"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.