get_adjacency_matrix: Get an adjacency matrix for a set of ontological terms
Description
Get an adjacency matrix for a set of ontological terms
Usage
get_adjacency_matrix(ontology, terms)
Arguments
ontology
ontology_index object
terms
Character vector of ontological terms
Value
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 in ontology.