jabes.q | R Documentation |
This function computes q-values using the approach of Nettleton et al. (2006) JABES 11, 337-356.
jabes.q(p, B = 20)
p |
a numerical vector of p-value |
B |
number of bin |
The function returns a q-value vector of the input p-value vector.
Dan Nettleton dnett@iastate.edu
1. Dan Nettleton, J. T. Gene Hwang, Rico A. Caldo and Roger P. Wise. Estimating the Number of True Null Hypotheses from a Histogram of p Values. Journal of Agricultural, Biological, and Environmental Statistics Vol. 11, No. 3 (Sep., 2006), pp. 337-356.
data(res)
p <- res$pqvalue$pv$line2
q <- rmRNAseq:::jabes.q(p)
sum(q <= .05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.