getTestedPairs             package:SLGI             R Documentation

_F_i_n_d _i_n_t_e_r_a_c_t_i_n_g _a_n_d  _n_o_n-_i_n_t_e_r_a_c_t_i_n_g _t_e_s_t_e_d _p_a_i_r_s _f_r_o_m _a_n _g_e_n_e_t_i_c _i_n_t_e_r_a_c_t_i_o_n _m_a_t_r_i_x.

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

     'getTestedPairs' find all the pairs from an interaction matrix and
     a list of tested genes.

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

     getTestedPairs(iMat, respV)

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

    iMat: Adjacency matrix reporting genetic Interactions. Each entry
          has value 0 or 1, representing positive or negative
          interaction of corresponding pairs of row and column,
          respectively.

   respV: Character vector of all gene names that were tested (found to
          interact or not) 

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

     A data.frame with 4 columns: 

   query: gene names of the query genes

   array: gene names og the tested genes (e.g., array genes)

interact: numeric vector of the number of observed interactions (0: no
          interaction; 1: one interaction; 2: two interactions when the
          query genes were also on the array)

   recip: logical to indicate whether the reported genes were both
          query and array genes (TRUE: both genes were query and array
          genes)

     .

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

     N. LeMeur

_S_e_e _A_l_s_o:

     'getSharedDomains' 'getUniquePairs'

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

     intM <- c(0,1,0,0,1,1,0,0,1,0,0,1,1,0,1,0)
     dim(intM) <- c(4,4)
     dimnames(intM) <- list(c("p1","p2","p3","p4"),c("p1","p3","p5","p7") )
     respV <- c("p6","p8")
     intM
     getTestedPairs(intM,respV)

