hgTests               package:ppiStats               R Documentation

_A _w_r_a_p_p_e_r _f_u_n_c_t_i_o_n _t_o _i_m_p_l_e_m_e_n_t _t_h_e _H_y_p_e_r_g_e_o_m_e_t_r_i_c _t_e_s_t,  
_H_y_p_e_r_G_T_e_s_t _f_o_u_n_d _w_i_t_h_i_n_g _t_h_e _C_a_t_e_g_o_r_y _a_n_d _G_O_s_t_a_t_s _p_a_c_k_a_g_e_s.

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

     This function takes the instances of the hyperGParams and conducts
     a (conditional) test for over/under representation of some
     category under the Hypergeometric distribution.

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

     ppiHGTest4GO(parameter, filename, append=TRUE,
                           label = "Experiment name here",
                           typeGeneSet = "Describe the gene set here",
                           cs=50)

     ppiHGTest4PFAM(parameter, filename, append = TRUE,
                                label = "Experiment Name Here",
                                typeGeneSet = "Describe the Gene Set Here",
                                cs = 50)

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

parameter: An object of hyperGParams.

filename: A character vector. The name given to the .html file
          produced.

  append: A logical. If multiple tests are conducted using the same
          filename, then the  .html file will be appended if TRUE or
          over-written if FALSE.

   label: A character. The should give a description of the experiment
          used to  obtain the gene set.

typeGeneSet: A character: this character vector should adequately
          describe the gene set itself.

      cs: A numeric. This gives a cut-off for the size of the
          categories in which we  conduct the test.

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

     A instance of the class hyperGTest as well as an .html file.

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

     T Chiang

