n.fdr.poisson: Sample size calculation for Poisson data
Description
Find the sample size needed to have a desired false discovery rate and average power for a large number of two-group comparisons under Poisson distribution.
fixed p-value threshold for multiple testing procedure
n.its
number of iteration
max.its
maximum number of iteration, default is 50
n0
lower limit for initial sample size range
n1
upper limit for initial sample size range
Arguments
fdr
desired FDR (scalar numeric)
pwr
desired average power (scalar numeric)
rho
fold-change, usual null hypothesis is that rho=1 (vector)
mu0
average count in control group (vector)
w
ratio of the total number of reads mapped between the two groups
type
type of test: "w" for Wald, "s" for score, "lw" for log-transformed Wald, "ls" for log-transformed score.
pi0.hat
method to estimate proportion pi0 of tests with true null, including: "HH" (p-value histogram height) , "HM" (p-value histogram mean), "BH" (Benjamini & Hochberg 1995), "Jung" (Jung 2005)
References
C-I Li, P-F Su, Y Guo, and Y Shyr (2013). Sample size calculation for differential expression analysis of RNA-seq data under Poisson distribution. Int J Comput Biol Drug Des 6(4).<doi:10.1504/IJCBDD.2013.056830>