distCGO               package:GOstats               R Documentation

_D_i_s_t_a_n_c_e_s _b_e_t_w_e_e_n _G_O _g_r_a_p_h_s

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

     These functions provide different ways of measuring the distance
     between two GO graphs. See 'oneGOGraph' for a description of how
     these graphs are constructed.

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

     distCGO(term1, term2, dataenv)
     distDGGO(term1, term2, dataenv)

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

   term1: The term used to construct the first graph. 

   term2: The term used to construct the second graph. 

 dataenv: The data used to construct both graphs. 

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

     A number of distances between induced GO graphs have been
     considered in the literature. A basic idea behind these distances
     is to convey some information about the relatedness of the terms
     (or possibly of the genes annotated at those terms) using these
     distance measures.

     For 'distDGGO' the distance is the number of nodes in the
     intersection of the two induced graphs divided by the number of
     nodes in the union of the two graphs.

     For 'distCGO' the distance is not yet implemented.

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

     A numeric value indicating the distance between 'term1' and
     'term2'.

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

     R. Gentleman

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

     (1) Cheng et al, Affymetrix. (2) B. Ding and R. Gentleman

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

     'oneGOGraph', 'makeGOGraph'

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

      distDGGO("GO:0005488", "GO:0030528", GOMFPARENTS)

      distDGGO("GO:0003700", "GO:0030528", GOMFPARENTS)

