Histogram of the raw p-values of one contrast. A well-behaved test gives a uniform histogram with a spike near zero; a hump towards 1, or a wave, means the model assumptions are violated (wrong design, unaccounted batch, over- aggressive imputation) and the FDR is not trustworthy.
Arguments
- results
Output of
test_differential()orcombine_quant_results().- title
Plot title. Default
NULL(the contrast name).
Examples
if (FALSE) { # \dontrun{
plot_pvalue_hist(subset(results, Contrast == "TREAT_vs_CTRL"))
} # }