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)

