Description Usage Arguments Value Author(s)
Plot a histogram of unadjusted P-values, and the expected
proportion of truly nulls, and the estimated pi0 from
fitting the non-NA
pvalues through qvalue with
default options.
1 2 3 | hist_pvals_pi0(pvals, bins = 20, main = "",
xlab = "unadjusted P-values", annotate = TRUE,
theme = c("red", "black"))
|
pvals |
a numeric vector of unadjusted pvalues, in [0,1] |
bins |
the number of histogram bins |
main |
the plot title |
xlab |
the plot x-axis label |
annotate |
logical: if |
theme |
one of “red” or “black”, where “red” colours the bars from deep red to white, or “black” leaves the bars black & white. |
nothing.
Mark Cowley, 2008-10-02
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.