Construct dependency matrices and their correponding attributes
get_graph_matrix(graph)
igraph object of ontology terms
List of matrices and their attributes
$binary.matrices # intial binary matrices assigned to each node of graph $comb.matrices$matrix # combined matrix for each node $comb.matrices$state.string # vector of states [1] "00" "01" "10" "11" $comb.matrices$state.ident # specifies the order of ontology terms in each state [1] "UBERON:0007829" "UBERON:2000663" $comb.matrices$state.observable # ids and names of "observable" states. In red-blue tail notation refers to blue and red states $comb.matrices$state.hidden # ids and names of "hidden" states. In red-blue tail notation refers to "blue absent" and "red absent" $nodes.sorted # topologically sorted nodes $vertex.hier # hierrachy of the nodes
get_graph_matrix(g)
#> Error in get_graph_matrix(g): object 'g' not found