get_term_descendancy_matrix  R Documentation 
Get logical descendancy matrix for set of terms
get_term_descendancy_matrix(ontology, terms = NULL, rows = terms, cols = terms)
ontology 

terms 
Character vector of ontological terms. 
rows 
Rows for resultant matrix (defaults to 
cols 
Cols for resultant matrix (defaults to 
A logical square matrix of with length(terms)
columns and rows. result[row_term,col_term] == TRUE
if row_term
is an ancestor (and not the same as) of col_term
.
A logical matrix.
data(hpo)
get_term_descendancy_matrix(hpo, c("HP:0001873", "HP:0011877"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.