pval_qqplot | R Documentation |
Plots observed vs. expected p-values.
pval_qqplot( pvalues, outliers = NULL, sig_cutoff = 0.05, plot_lambda = T, df = 1 )
pvalues |
A vector of pvalues with associated feature IDs. |
outliers |
A vector of outlier IDs that correspond to the names in 'pvalues'. |
sig_cutoff |
Adjusted p-value significance threshold. |
plot_lambda |
If 'TRUE' calculate the genomic inflation factor and overlay it on the plot. |
df |
Degrees of freedom on the theoretical distribution. Used in calculating the genomic
inflation factor. Only relevant when |
Plot observed p-values vs. expected p-values. Expected p-values are assumed to follow a uniform distribution.
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.