getType-methods          package:KEGGgraph          R Documentation

_G_e_t _t_y_p_e _a_t_t_r_i_b_u_t_e

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

     This method can be used to extract generic type attribute from
     several objects implemented in KEGGgraph package.

     The meanings and descriptions of the types can be found at KGML
     manual listed in the reference.

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


     _o_b_j_e_c_t = "_K_E_G_G_E_d_g_e" An object of 'KEGGEdge-class' 

     _o_b_j_e_c_t = "_K_E_G_G_N_o_d_e" An object of 'KEGGNode-class' 

     _o_b_j_e_c_t = "_K_E_G_G_R_e_a_c_t_i_o_n" An object of 'KEGGReaction-class' 

_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/>

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

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

     ## node type
     node <- nodes(maptest)[[3]]
     getType(node)

     ## edge type
     edge <- edges(maptest)[[5]]
     getType(edge)

     ## reaction type
     reaction <- getReactions(maptest)[[5]]
     getType(reaction)

