compIndep           package:simulatorAPMS           R Documentation

_T_h_i_s _f_u_n_c_t_i_o_n _d_e_t_e_r_m_i_n_e_s _h_o_w _i_n_d_e_p_e_n_d_e_n_t _t_h_e _p_r_o_b _d_i_s_t_r_i_b_u_t_i_o_n _o_f
_t_h_e _T_S_N _a_n_d _t_h_e _e_s_t_i_m_a_t_e _a_r_e _w_i_t_h _r_e_s_p_e_c_t _t_o _o_n_e _a_n_o_t_h_e_r

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

     This function calculates the probability that a protein is in
     Cluster C-i and the probability that a protein is in cluster K-j
     and then the joint probability that the protein is in both C-i and
     K-j. The function compares the joint distributions with the
     marginals.

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

     compIndep(TSNMat, erMat, intersectMat)

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

  TSNMat: The matrix representation of the bipartite graph of the ISI

   erMat: The matrix representation of the estimate of the ISI

intersectMat: A matrix that records the intersection between the
          complexes of ISI and the complexes of the estimate

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

     see above

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

     The return value is a matrix of real numbers that account for how
     independent the marginals are from the joint distribution of
     protein membership to complexes.

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

     Tony Chiang

