Description Usage Arguments Value Author(s) References Examples
This function calculate lambda threshold to estimate FDR
1 | estimate.lambda(p, B = 20)
|
p |
a numerical vector of p-value. |
B |
number of bin. |
The function returns an estimate of lambdastar, the threshold to calculate FDR based on Storey's formula.
Dan Nettleton dnett@iastate.edu
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, Volume 11, Number 3, Pages 337–356.
1 2 3 | p <- runif(100)
lambdastar <- estimate.lambda(p)
lambdastar
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.