| AnalyticalOptim | Optimize lambda0 and pi0, using Poisson version of analytical approach in Efron's "Microarrays, Empirical Bayes, and the Two-Groups Model" In the paper, he derives formulas for arbitrary support. We use support [0, 1] for estimating the null. We initialize the search with lambda=0.05 and pi=0.95. |
| BuildTable | Build a table corresponding to the histogram of data |
| LLConstructor | Return log-likelihood function giving Poisson version of equation (4.6) in "Microarrays, Empirical Bayes, and the Two-Groups model" by Efron. |
| LocfdrFuns | Run local fdr functions |
| MixtureDensity | Compute full mixture density for data, assuming exponential family model |
| NullDensity | Estimate the density for the null data |
| SummarizeLocfdr | Call and summarize output to LocfdrFuns |