rankPathways           package:sigPathway           R Documentation

_S_u_m_m_a_r_i_z_e_s _T_o_p _P_a_t_h_w_a_y_s _f_r_o_m _P_a_t_h_w_a_y _A_n_a_l_y_s_e_s

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

     Summarizes top pathways from pathway analyses.

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

     rankPathways(res.A, res.B, G, tab, phenotype, gsList, ngroups,
                  methodNames = NULL, npath = 25, allpathways = FALSE)

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

   res.A: a list from the output of 'calculate.NTk' or 'calculate.NEk'

   res.B: a list from the output of 'calculate.NTk' or 'calculate.NEk'

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

     tab: a numeric matrix of expression values, with the rows and
          columns representing probe sets and sample arrays,
          respectively

phenotype: a numeric (or character if 'ngroups' >= 2) vector indicating
          the phenotype

  gsList: a list containing three vectors from the output of the
          'selectGeneSets' function

 ngroups: an integer indicating the number of groups in the matrix

methodNames: a character vector of length 2 giving the names for
          'res.A' and 'res.B'

   npath: an integer indicating the number of top gene sets to consider
          from each statistic when ranking the top pathways

allpathways: a boolean to indicate whether to include the top 'npath'
          pathways from each statistic or just consider the top 'npath'
          pathways (sorted by the sum of ranks of both statistics) when
          generating the summary table

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

     This function ranks together the statistics given in 'res.A' and
     'res.B' and summarizes the top gene sets in a tabular format
     similar to Table 2 in Tian et al. (2005)

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

     A data frame showing the pathways' indices in 'G', gene set
     category, pathway title, set size, 'res.A''s statistics, 'res.B''s
     statistics, the corresponding q-values, and the ranks for the top
     gene sets.

_N_o_t_e:

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

_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>

