write.qvalue | R Documentation |
Write the results of the q-value object to a file.
write.qvalue(x, file = NULL, sep = " ", eol = "\n", na = "NA",
row.names = FALSE, col.names = TRUE)
x |
A q-value object. |
file |
Output filename (optional). |
sep |
Separation between columns. |
eol |
Character to print at the end of each line. |
na |
String to use when there are missing values. |
row.names |
logical. Specify whether row names are to be printed. |
col.names |
logical. Specify whether column names are to be printed. |
The output file includes: (i) p-values, (ii)
q-values (iii) local FDR values, and (iv) the estimate of \pi_0
,
one per line. If an FDR significance
level was specified in the call to qvalue
, the significance
level is printed and an indicator of significance is included.
Nothing of interest.
John D. Storey, Andrew J. Bass
qvalue
, plot.qvalue
,
summary.qvalue
# import data
data(hedenfalk)
p <- hedenfalk$p
# write q-value object
qobj <- qvalue(p)
write.qvalue(qobj, file="myresults.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.