JaccardCoef          package:simulatorAPMS          R Documentation

_F_u_n_c_t_i_o_n _t_o _c_a_l_c_u_l_a_t_e _t_h_e _J_a_c_c_a_r_d _C_o_e_f_f_i_c_i_e_n_t

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

     The JaccardCoef function takes the return values of
     compareComplexes function and calculates, for each pair of
     complexes C-i and K-j (where C is in ISI and K is in estimate),
     the similarity coefficient of Jaccard.

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

     JaccardCoef(dataMat)

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

 dataMat: dataMat is the return value from compareComplex, a list of
          consisting of three matrices: intersection C-i and K-j, set
          difference C-i  K-j, and set difference K-j  C-i

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

     See above

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

     The return value, SimilarityMat, is a matrix consisting of the
     Jaccaard coefficient for each pair of complexes C-i and K-j with
     rows in indexed by C-i and columns indexed by K-j.

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

     Tony Chiang

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

     library(simulatorAPMS)
     data(simEX)
     data(APComEX)
     komp = runCompareComplex(simEX, APComEX)
     JaccardCoef(komp)

