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)
log.fc
log fold-change (vector), usual null hypothesis is log.fc=0
mu
read depth per gene (vector, same length as log.fc)
sig
coefficient of variation (CV) per gene (vector, same length as log.fc)
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
SN Hart, TM Therneau, Y Zhang, GA Poland, and J-P Kocher (2013). Calculating Sample Size Estimates for RNA Sequencing Data. Journal of Computational Biology 20: 970-978.