Description Usage Arguments Details Value Note Author(s) Examples
Calculate Benjamini-Hochberg q-values for a vector of p-values.
1 | pvalue2qvalue(pv, n = length(pv))
|
pv |
Vector of p-values. |
n |
If |
The q-values can be slightly conservative compared to other popular q-value calculation methods.
Return a vector of q-values matching p-values in pv
.
The function runs faster if the vector pv
is sorted.
Andrey A Shabalin andrey.shabalin@gmail.com
1 2 3 | pv = runif(20)^2
qv = pvalue2qvalue(pv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.