test2Interact              package:SLGI              R Documentation

_S_u_m_m_a_r_i_z_e _g_e_n_e_t_i_c _i_n_t_e_r_a_c_t_i_o_n_s _w_i_t_h_i_n _o_r _b_e_t_w_e_e_n _c_e_l_l_u_l_a_r
_o_r_g_a_n_i_z_a_t_i_o_n_a_l _u_n_i_t_s

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

     Summarize the genetic interactions within one cellular
     organizational unit or between 2 cellular organizational units.

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

     test2Interact(iMat, tMat, interactome)

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

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

    tMat: Adjacency matrix of tested object. Each entry has value 0 or
          1, representing the fact that the corresponding pairs of row
          and column have been tested for interaction or not.

interactome: Adjacency matrix where  row are gene names and columns are
          cellular organizational units names. Each entry has value 0
          or 1, for absence or presence of a gene in the complex.

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

     the return value is a data.frame with 6 columns.

unit1, unit2: cellular organizational units tested and interacting

  tested: Number of interactions tested between unit1 and unit2

interact: Number of interactions found between unit1 and unit2

sizeC1, sizeC2: Number of genes in  unit1 and unit2

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

     N. LeMeur

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

     set.seed(123)
     ##Create the interactome
     cInt <- sample(c(0,1),30, TRUE)
     interactome  <- matrix(cInt, nrow=6, ncol=5,dimnames=list(letters[2:7],LETTERS[1:5]))

     ## Create cellular organizational units interaction matrix
     gInt <- sample(c(1:8), 25, TRUE)
     gInt  <- matrix(gInt, nrow=5, ncol=5, dimnames=list(LETTERS[1:5],LETTERS[1:5]))

     ## All interactome tested
     gTest <- matrix(sample(c(0:3), 25, TRUE), nrow=5, ncol=5)
     gTested <- gInt+gTest

     val <- test2Interact(iMat=gInt, tMat=gTested, interactome=interactome)

