recipBP               package:y2hStat               R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _r_e_t_u_r_n_s _a_l_l _p_r_e_y_s _w_h_i_c_h _w_e_r_e _s_a_m_p_l_e_d _a_s _b_a_i_t_s
_t_h_a_t _a_l_s_o _d_e_t_e_c_t_e_d _n_o_n-_t_r_i_v_i_a_l _p_r_e_y_s.

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

     This function takes all the detected preys from some y2h
     experiment and checkes to see which of these proteins were sampled
     as a bait that found another prey protein.

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

     recipBP(y2h, homodimer = TRUE)

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

     y2h: A three tiered list. Names of the second tier corresponds to
          ID of experiment. Names of the third tier should be the bait
          proteins. The entries of the third tier are character vectors
          of proteins detected as prey

homodimer: A logical. If TRUE, we record the reciporcity of homodimers.
          If false, reciprocity is only recorded if there the bait to
          prey associations extends beyond homodimers.

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

     The return value is a named list. Each names corresponds to the
     experiment. The entries of the list is a character vector of those
     proteins which were both 1. detected as prey and 2. tested as a
     bait and found a non-trivial prey.

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

     T Chiang

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

     data(y2hSysGW)
     eg=y2hSysGW[3]
     recip(eg)

