KEGGEdge-class           package:KEGGgraph           R Documentation

_C_l_a_s_s '_K_E_G_G_E_d_g_e'

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

     A class to represent 'relation' elements in KGML files and edge
     objects in a KEGG graph

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

     Objects are normally created by 'parseRelation' function, which is
     not intended to be called by user directly

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


     '_e_n_t_r_y_1_I_D': The entryID of the first KEGGNode 

     '_e_n_t_r_y_2_I_D': The entryID of the second KEGGNode 

     '_t_y_p_e': The type of the relation, see 'getType-methods' 

     '_s_u_b_t_y_p_e_N_a_m_e': Subtype name

     '_s_u_b_t_y_p_e_V_a_l_u_e': Subtype value

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


     _g_e_t_E_n_t_r_y_I_D 'signature(obj = "KEGGEdge")': Get entryIDs of the edge
          in the order specified by the direction of the edge 

     _g_e_t_T_y_p_e 'signature(object = "KEGGEdge")': Get the relation type 

     _g_e_t_N_a_m_e 'signature(object = "KEGGEdge")': Get the names of edges
          in the convention of Rgraphviz, 'node1~node2'

     _s_h_o_w 'signature(object = "KEGGEdge")': Show method 

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

     Jitao David Zhang <URL: mailto:j.zhang@dkfz.de>

_R_e_f_e_r_e_n_c_e_s:

     KGML Manual <URL: http://www.genome.jp/kegg/docs/xml/>

_S_e_e _A_l_s_o:

     'KEGGNode-class'

_E_x_a_m_p_l_e_s:

     mapfile<- system.file("extdata/map00260.xml", package="KEGGgraph")
     maptest <- parseKGML(mapfile)

     x <- edges(maptest)[[1]]
     class(x)

     ## examples to extract information from KEGGEdge
     getName(x)
     getEntryID(x)

     getType(x)
     getSubtype(x)

     subtype <- getSubtype(x)[[1]]
     getName(subtype)

