recCompSize              package:ScISI              R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _r_e_c_o_r_d_s _t_h_e _r_e_l_a_t_i_v_e _s_i_z_e_s _o_f _c_o_m_p_l_e_x _C-_i _f_r_o_m
_o_n_e _b_i_p_a_r_t_i_t_e _g_r_a_p_h _w_i_t_h _c_o_m_p_l_e_x _K-_j _f_r_o_m _a _d_i_f_f_e_r_e_n_t _b_i_p_a_r_t_i_t_e _g_r_a_p_h.

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

     This function takes two bipartite graph matrices, bg1 and bg2. For
     each complex C-i of bg1, we find the relative size of C-i for
     every complex K-j of bg2. A matrix of these ratios is returned
     with all cardinalities of C-i as the numerators and K-j as
     denominators. A second matrix is calculated where the cardinality
     of K-j is the numerator and C-i is the denominator.

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

     recCompSize(bg1, bg2)

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

     bg1: The first bipartite graph as an incidence matrix

     bg2: The second bipartite graph as an incidence matrix

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

     The return value is a list: 

OneOverTwo: The matrix where the cardinalities of complexes from bg1
          are numerators.

TwoOverOne: Matrix where cardinalities of complexes from bg2 are
          numerators.

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

     Tony Chiang

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

     #go = getGOInfo(wantAllComplexes = FALSE)
     #goM = createGOMatrix(go)
     #mips = getMipsInfo(wantSubComplexes = FALSE)
     #mipsM = createMipsMatrix(mips)
     #recCompSize(goM, mipsM)

