sel_qval | R Documentation |
Compute q values with pre-filtering
sel_qval(pvals, ind = NULL, method = "bootstrap", ...)
pvals |
vector of input p values |
ind |
logical vector corresponding to pre-filtering condition. NAs are allowed and reinterprated as FALSE. If NULL, all are interpreted as TRUE. |
method |
method selection for qvalue::pi0est |
... |
passed on to qvalue::qvalue (and then to pi0est) |
vector of q values with NAs for non-satisfied pre-filtering
pvals <- runif(10)
effectsize <- runif(10)
sel_qval(pvals, effectsize > 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.