hyperG                 package:SLGI                 R Documentation

_H_y_p_e_r_g_e_o_m_e_t_r_i_c _t_e_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     a hypergeometric test for genetic interaction data.

_U_s_a_g_e:

     hyperG(data, nbTested, universe)

_A_r_g_u_m_e_n_t_s:

    data: Matrix with 2 columns the first one corresponds to the number
          of interactions per pair of interacting complexes and the
          second one to number of tested interactions. This could be
          the first two columns resulting from a call to the
          'test2Interact' function.

nbTested: Number of interacting pairs

universe: Total Number of tested pairs

_A_u_t_h_o_r(_s):

     N. LeMeur

_S_e_e _A_l_s_o:

     'phyper'

_E_x_a_m_p_l_e_s:

     ## Create matrix interaction x tested matrix
     interact <-  c(1, 3, 2, 2, 6, 5, 2, 4, 1, 3)
     tested <-  c(3, 3, 5, 4, 8, 5, 3, 4, 2, 3)
     mat <- cbind(interact, tested)

     ## Perform test
     res <- hyperG(mat, 1000, 10000)
     summary(res$P)

