Description Usage Arguments Value Author(s) Examples
View source: R/rejection_plot.R
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.
1 2 3 4 5 6 7 8 9 10 
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 
A list of the step functions used for plotting is returned invisibly.
Richard Bourgon <bourgon@ebi.ac.uk>
1  # See the vignette: Diagnostic plots for independent filtering

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.