Description Usage Arguments Details Value
Plot qq-plot from p-values with shading
1 2 |
pvals |
vector of p-values |
thin |
Vector of two thinning parameters. The first should be between 0 and 1. The second should be an integer. If thin = c(q, c) then, from the least significant q proportion of pvalues, we will plot only a randomly selected c. This prevents the plot from being huge. |
shade |
If true, include 95% confidence bounds. |
truncate |
If truncate = t, then p-values with -log10(p-val) > t will be plotted as triangles at t. Defaults to Inf. |
group |
Optionally provide a vector of group labels. |
Uses working model 4 described here: https://jean997.github.io/sh2Ash/mh_test.html
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.