This function computes q-values using the approach of Nettleton et al.
(2006) JABES 11, 337-356.
Usage
jabes.q(p, B = 20)
Arguments
p
a numerical vector of p-value
B
number of bin
Value
The function returns a q-value vector of the input p-value vector.
References
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.