getRgraphvizEdgeNames       package:KEGGgraph       R Documentation

_G_e_t _R_g_r_a_p_h_v_i_z _c_o_m_p_a_t_i_t_a_b_l_e _e_d_g_e _n_a_m_e_s

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

     Get Rgraphviz compatitable edge names, where the out- and in-nodes
     sharing a edge are concatenated by "~".

_U_s_a_g_e:

     getRgraphvizEdgeNames(graph)

_A_r_g_u_m_e_n_t_s:

   graph: A graph object 

_V_a_l_u_e:

     A list of names, the order is determined by the edge order.

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

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

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

     Rgraphviz package

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

     tnodes <- c("Hamburg","Dortmund","Bremen", "Paris")
     tedges <- list("Hamburg"=c("Dortmund", "Bremen"),
     "Dortmund"=c("Hamburg"), "Bremen"=c("Hamburg"), "Paris"=c())
     tgraph <- new("graphNEL", nodes = tnodes, edgeL = tedges)
     getRgraphvizEdgeNames(tgraph)

