n for completely randomized designs in which differential expression between n treatment units and n control units is of interest. The total number of experimental units for the study is 2n.
sampleSize.randomized(ER0, G0, power, absMu1, sigmad)sigmad) and the experimental error standard deviation (sigma) is sigmad=sqrt(2)/sigma.d=absMu1/sigmad).Lee, M.-L. T., Whitmore, G. A. (2002). Power and sample size for DNA microarray studies. Statistics in Medicine, 21:3543-3570.
power.randomized,
power.matched,
power.multi,
sampleSize.matched
sampleSize.randomized(ER0=1, G0=2000, power=0.9, absMu1=1, sigmad=0.566)
Run the code above in your browser using DataLab