Description Usage Arguments Details Value
This function plots all the raw p-values and compares them with a theoretical uniform distribution using a qq plot. This plot is created with a negative log scale, letting us visualize all the p-values, independent of their small magnitudes. The p-values deviated from the diagonal line, are the ones that are significant.
1 |
data |
(dataframe) dataframe containing at least a column of p-values to be adjusted |
pv_index |
(numeric) if the input is a dataframe, col refers to the column name of the dataframe that has the p-values |
Requirements: ggplot2
ggplot a ggplot object with the qq plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.