fdr.power: Compute the average power at a specific FDR control level
Description
Compute the average power at a specific level of FDR control for a given effect size and sample size
Usage
fdr.power (fdr, n, pow.func, eff.size, null.effect, lam = 0.95, eps = 1e-04, tol = 1e-04, ...)
Arguments
fdr
Desired FDR, scalar
n
sample size
pow.func
name of R function to compute statistical power
eff.size
effect size vector; will be provided as the third argument of pow.func
null.effect
value of effect size that corresponds to null hypothesis
lam
name of R function to compute statistical power
eps
epsilon for numerical differentiation
tol
tolerance for bisection solution to alpha
...
additional agruments for the functions
Value
References
A Onar-Thomas, S Pounds "FDRsampsize: An R package to Perform Generalized Power and Sample Size Calculations for Planning Studies that use the False Discovery Rate to Measure Significance", Manuscript 2016.
Gadbury GL, et al. (2004) Power and sample size estimation in high dimensional biology. Statistical Methods in Medical Research 13(4):325-38.
Pounds S and Cheng C (2005) Sample size determination for the false discovery rate. Bioinformatics 21(23): 4263-71.