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)

