n required to achieve a specified power level for a matched-pairs design in which differential expression between n treatment units and n matched control units is of interest. The total number of experimental units for the study is 2n.sampleSize.matched(ER0, G0, power, absMu1, sigmad)d=absMu1/sigmad).power.randomized,
power.matched
power.multi,
sampleSize.randomizedsampleSize.matched(ER0=1, G0=2000, power=0.9, absMu1=1, sigmad=0.5)Run the code above in your browser using DataLab