topRankSummary              package:plw              R Documentation

_R_e_t_u_r_n _o_r _p_l_o_t_s _a_n_a_l_y_s_i_s _r_e_s_u_l_t _f_o_r _t_o_p _r_a_n_k_i_n_g _o_r _s_e_l_e_c_t_e_d _p_r_o_b_e _s_e_t_s

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

     Returns (or plots) t-statistic and/or log2FC for each probe and
     median for each probe set. P

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

     plotSummaryLog2FC(model,nGenes=50,genesOfRank=1:nGenes,genes=NULL)
     plotSummaryT(model,nGenes=50,genesOfRank=1:nGenes,genes=NULL)
     topRankSummary(model,nGenes=50,genesOfRank=1:nGenes,genes=NULL)

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

   model: On object obtained from the function plw.

  nGenes: Gives summary for the nGenes top ranking genes

genesOfRank: Gives summary for genes ranked genesOfRank

   genes: Gives summary for specific genes.

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

     Magnus Astrand

_S_e_e _A_l_s_o:

     plw

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

     # ------------------------------------------
     # Example using the result of the analysis of
     # the 6 arrays in the AffySpikeU95Subset data set

     # Loading the data
     data(AffySpikeU95Subset)

     # Defining design and contrast matrix
     group<-factor(rep(1:2,each=3))
     design<-model.matrix(~group-1)
     contrast<-matrix(c(1,-1),1,2)

     # Analyzing using plw
     model1<-plw(AffySpikeU95Subset,design=design,contrast=contrast,
                 epsilon=0.01)

     ## Selecting top genes
     topRankSummary(model1,nGenes=10)

     ## Plotting t-statistics and log2FC for top genes
     par(mfrow=c(1,2))
     plotSummaryT(model1,nGenes=20)
     plotSummaryLog2FC(model1,nGenes=20)

