rootedDAG-class          package:ontoTools          R Documentation

_C_l_a_s_s "_r_o_o_t_e_d_D_A_G"

_D_e_s_c_r_i_p_t_i_o_n:

     wraps a graph that can be  shown to be a DAG and has a root (one
     node with no ancestor)

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("rootedDAG",
     ...)'. Does not extend graph but probably should.

_S_l_o_t_s:


     '_r_o_o_t': Object of class '"character"' name of root 

     '_D_A_G': Object of class '"graph"' DAG 

_M_e_t_h_o_d_s:


     _D_A_G 'signature(x = "rootedDAG")': extract the graph 

     _g_e_t_M_a_t_r_i_x 'signature(g = "rootedDAG", type = "character", mode =
          "character")': Currently only 'child2parent' can be used for
          type, meaning that row corresponds to child, column
          corresponds to ancestor and mat[row,column] is 1 if node
          corresponding to row is a child of node corresponding to
          ancestor.  Type can be 'sparse' (return sparse
          representation) or 'dense'.

     _r_o_o_t 'signature(x = "rootedDAG")': extract name of root 

_A_u_t_h_o_r(_s):

     VJ Carey <stvjc@channing.harvard.edu>

