selectGeneSets          package:sigPathway          R Documentation

_S_e_l_e_c_t _g_e_n_e _s_e_t_s _t_o _b_e _a_n_a_l_y_z_e_d _i_n _p_a_t_h_w_a_y _a_n_a_l_y_s_i_s

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

     Selects gene sets to be analyzed in pathway analysis based on
     minimum and maximum number of probe sets to consider per pathway.

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

     selectGeneSets(G, probeID, minNPS = 20, maxNPS = 500)

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

       G: a list containing the source, title, and probe sets
          associated with each curated pathway

 probeID: a character vector containing the names of probe sets
          associated with a matrix of expression values

  minNPS: an integer specifying the minimum number of probe sets in
          'probeID' that should be in a gene set

  maxNPS: an integer specifying the maximum number of probe sets in
          'probeID' that should be in a gene set

_D_e_t_a_i_l_s:

     This function selects the appropriate pathways from a large,
     curated list based on the minimum and maximum number of probe sets
     that should be considered in a gene set.  It creates three
     vectors: 'nprobesV' and 'indexV' representing a sparse indicator
     matrix and 'indGused' indicating which gene sets were selected
     from 'G'.

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

     A list containing 

nprobesV: an integer vector indicating the number of probe sets in
          'probeID' that is in each selected gene set

  indexV: an integer vector containing positions for each 1s in the
          sparse indicator matrix

indGused: an integer vector indicating which pathways in 'G' were
          chosen

_N_o_t_e:

     See the help page for 'calculate.NTk' or 'calculate.NEk' for
     example code that uses 'getPathwayStatistics'

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

     Lu Tian, Peter Park, and Weil Lai

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

     Tian L., Greenberg S.A., Kong S.W., Altschuler J., Kohane I.S.,
     Park P.J. (2005)  Discovering statistically significant pathways
     in expression profiling studies.  _Proceedings of the National
     Academy of Sciences of the USA_, *102*, 13544-9.

     <URL: http://www.pnas.org/cgi/doi/10.1073/pnas.0506577102>

