collectBPStats            package:y2hStat            R Documentation

_T_h_i_s _f_u_n_c_t_i_o_n _e_n_u_m_e_r_a_t_e_s _t_h_e _m_u_l_t_i_p_l_i_c_i_t_y _o_f _b_a_i_t _t_o _p_r_e_y _o_c_c_u_r_a_n_c_e_s.

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

     This function takes the output of the bpMatrix function and a
     numeric vector of weights and returns those bait to prey
     assocations for each weight or reponds that there is no such
     assocation with respect to that weight.

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

     collectBPStats(bpMat, weight)

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

   bpMat: A weighted Bait to Prey adjacency matrix

  weight: A numeric vector of weights

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

     The return value is a list of lists. The names of the top tier-ed
     list is the weights given by the user. Each entry of the second
     tier-ed list is a character vector of two proteins, (bait,prey),
     which correspond to the particular weight.

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

     T Chiang

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

     data(y2hSysGW)
     eg = y2hSysGW[3]
     egMat = bpMatrix(eg)
     collectBPStats(egMat, 1:3)

