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)
|
Loading required package: filematrix
Warning messages:
1: no function found corresponding to methods exports from 'DelayedArray' for: 'acbind', 'arbind'
2: no function found corresponding to methods exports from 'SummarizedExperiment' for: 'acbind', 'arbind'
3: replacing previous import 'BiocGenerics::path' by 'Rsamtools::path' when loading 'GenomicAlignments'
4: multiple methods tables found for 'rglist'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.