plot                  package:SSPA                  R Documentation

_E_m_p_i_r_i_c_a_l _c_u_m_u_l_a_t_i_v_e _d_i_s_t_r_i_b_u_t_i_o_n _f_u_n_c_t_i_o_n _o_f _p-_v_a_l_u_e_s _o_f _t_h_e _p_i_l_o_t _d_a_t_a

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

     The function 'plot' plots an empirical cumulative distribution
     function of p-values of the pilot data. The test statistics that
     are given as input to 'PilotData-class' are transformed to
     two-sided p-values either using the normal or Student t
     distribution.

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

     plot(x, y, ...)

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

       x: object of class 'PilotData-class'

       y: unused item

     ...: additional arguments given to 'plot' or 'par'

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

     Empirical cumulative distribution function of p-values. The line
     at angle of 45 degrees represents the theoretical CDF of a uniform
     distribution as expected when all genes are non-differentially
     expressed. An accumulation of p-values near zero indicates a
     certain number of differentially expressed genes.

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

     Maarten van Iterson

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

     library(multtest)
     data(golub)
     teststat <- mt.teststat(golub, golub.cl)
     table(golub.cl)
     pd <- pilotData(name="golub", testStatistics=teststat, sampleSizeA=11, sampleSizeB=27)
     hist(pd)
     plot(pd)

