sharedInt                package:SLGI                R Documentation

_L_i_s_t _s_h_a_r_e_d _g_e_n_e_t_i_c _i_n_t_e_r_a_c_t_i_o_n_s _b_e_t_w_e_e_n _g_e_n_e_s

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

     List shared interactions and cellular organizational units names
     between genes.

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

     sharedInt(pairL, interactome, threshold=0)

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

   pairL: Dataframe with 3 columns. The first columns are the pair of
          genes tested i.e., the query and array genes. The third
          columns in a logical: TRUE when the 2 genes genetically
          interact and FALSE when they do not.(see 'AtongPair' dataset
          as example)

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.

threshold: Numeric. Indicate the minimum number of interactions that 2
          genes must share

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

     The return value is a list. Each element of the list has for name
     2 genes that genetically interact. Each element of the list
     corresponds to the list of cellular organizational units where the
     interacting genes are found (independently or together).

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

     N. LeMeur

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

     ## Synthetic genetic interactions 
     dat <- data.frame("query" = LETTERS[1:5], "array" = LETTERS[2:6], "interact" = as.logical(sample(c(TRUE, FALSE), 5, TRUE)))
     ## interactome
     interA <- matrix(sample(c(0, 1), 30,TRUE), nrow=6, ncol=5,dimnames = list(LETTERS[1:6], letters[1:5]))

     sharedInt(dat, interA, threshold=1)

