| qwrite {qvalue} | R Documentation |
Write the results of the q-value object qobj to a file.
qwrite(qobj, filename = "my-qvalue-results.txt")
qobj |
Qvalue object |
filename |
Output filename (optional) |
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.
Nothing of interest.
Alan Dabney adabney@u.washington.edu and John D. Storey jstorey@u.washington.edu
qvalue, qplot, qsummary, qvalue.gui
## Not run:
p <- scan("pvalues.txt")
qobj <- qvalue(p)
qplot(qobj)
qwrite(qobj, filename="myresults.txt")
## End(Not run)