hgParams              package:ppiStats              R Documentation

_A _w_r_a_p_p_e_r _f_u_n_c_t_i_o_n _t_o _b_u_i_l_d _a _p_a_r_a_m_e_t_e_r _c_l_a_s_s _f_o_r _t_h_e 
_i_n_p_u_t _o_f _t_h_e _H_y_p_e_r_G_T_e_s_t.

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

     This function takes a gene set and conducts test for either over
     or under representation of some category using the Hypergeometric
     distribution.

     The two differences when building the parameter classes are that a
     conditional test can be performed on the GO dag but not on PFAM
     categories and an ontology can be assigned to GO but not to PFAM.

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

     ppiBuildParams4GO(geneSet, universe, direction="over", annot="YEAST",
                                ontology = "CC", cond=TRUE, pThresh = 0.01)
     ppiBuildParams4PFAM(geneSet, universe, annot ="YEAST",
                                   direction = "over", pThresh=0.01)

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

 geneSet: A character vector of genes given by the gene locus name.

universe: The set of genes by which the geneSet is tested against  for
          over/under representation. The genes are also given  by the
          gene locus names.

direction: A character. This parameter can be either set to over or
          under when testing for GO categories.

   annot: A character. The annotation package used.

ontology: A character: either CC, MF, or BP to describe the GO
          ontology.

    cond: A logical. To test within the CO dag, a conditional
          hypergeometric test can be conducted.

 pThresh: A numeric. A p-value threshold by which the null hypothesis
          is rejected.

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

     A object of class hyperGParams.

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

     T Chiang

_R_e_f_e_r_e_n_c_e_s:

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

