Plot rejections vs. pvalue cutoff
Description
Plot the number, or fraction, of null hypotheses rejected as a function of the pvalue cutoff. Multiple sets of pvalues are accepted, in a list or in the columns of a matrix, in order to permit comparisons.
Usage
1 2 3 4 5 6 7 8 9 10 
Arguments
p 
The pvalues to be used for plotting. These may be in the columns of
a matrix, or in the elements of a list. One curve will be generated
for each column/element, and all 
col 
Colors to be used for each curve plotted. Recycled if necessary. If

lty 
Line styles to be used for each curve plotted. Recycled if necessary. 
lwd 
Line widths to be used for each curve plotted. Recycled if necessary. 
xlab 
Xaxis text label. 
ylab 
Yaxis text label. 
xlim 
Xaxis limits. 
ylim 
Yaxis limits. 
legend 
Text for legend. Matrix column names or list element names (see

at 
Should step functions be plotted with a step at every value in

n_at 
When 
probability 
Should the fraction of null hypotheses rejected be reported instead
of the count? See the 
... 
Other arguments to pass to the 
Value
A list of the step functions used for plotting is returned invisibly.
Author(s)
Richard Bourgon <bourgon@ebi.ac.uk>
Examples
1  # See the vignette: Diagnostic plots for independent filtering
