reverseArch              package:topGO              R Documentation

~~_f_u_n_c_t_i_o_n _t_o _d_o ... ~~

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

     TODO: Simple function to invert the direction of edges in an
     directed graph. The returned graph is of class graphNEL. It can
     use either simple matrices or sparse matrices (SparseM library)

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

     reverseArch(dirGraph, useAlgo = "sparse", useWeights = TRUE)

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

dirGraph: The graph to be transformed 

 useAlgo: "sparse" or "normal"

useWeights: If weights should be used (if useAlgo = 'normal' that the
          weigths are used anyway)

_D_e_t_a_i_l_s:

     ~~ If necessary, more details than the description above ~~

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

     An object of class 'graphNEL-class' is returned.

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

     Adrian Alexa

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

     'buildLevels', 'mapGenes2GOgraph', 'inducedGraph'

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

     ##---- Should be DIRECTLY executable !! ----
     ##-- ==>  Define data, use random,
     ##--    or do  help(data=index)  for the standard data sets.

