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)

