qwrite                package:qvalue                R Documentation

_W_r_i_t_e _t_h_e _r_e_s_u_l_t_s _o_f _t_h_e _q-_v_a_l_u_e _o_b_j_e_c_t _q_o_b_j _t_o _a _f_i_l_e

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

     Write the results of the q-value object qobj to a file.

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

     qwrite(qobj, filename = "my-qvalue-results.txt")

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

    qobj: Qvalue object

filename: Output filename (optional)

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

     The output file lists the estimate of pi_0, which is the
     proportion of true null hypotheses.  It also lists each p-value
     and corresponding q-value, one per line.  If an FDR significance
     level was  specified in the call to 'qvalue', the significance
     level  is printed below the estimate of pi_0, and an indicator  of
     significance is included as a third column for each p-value and
     q-value.

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

     Nothing of interest.

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

     Alan Dabney adabney@u.washington.edu and John D. Storey
     jstorey@u.washington.edu

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

     'qvalue', 'qplot', 'qsummary', 'qvalue.gui'

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

     ## Not run: 
     p <- scan("pvalues.txt")
     qobj <- qvalue(p)
     qplot(qobj)
     qwrite(qobj, filename="myresults.txt")
     ## End(Not run)

