Description Usage Arguments Value Author(s)
Takes a pair of vectors of estimates and their p-values for some hypothesis test, and uses qvalue methods from storey and Tibshirani to estimate the number of True Negatives (pi0) and creat a p-value histogram. It doesn't consider cases where the estimate is undefined.
1 | check_pvalues(estimates, pvals, plot = TRUE)
|
estimates |
numeric verctor of estimates |
pvals |
numeric vector of p-values |
plot |
plot or not |
a list with elements pi0 with the point estimate of pi0 and p1 which is a ggplot2 plot or NULL in case parameter plot was FALSE
Sur Herrera Paredes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.