library(limma)
library(qvalue)
m <- 14 ## sample size per treatment group
mu <- 10 ## mean read counts in control group
disp <- 0.1 ## dispersion for all genes
fc <- 2 ## 2-fold change for DE genes
check.power(m = m, mu = mu, disp = disp, fc = fc, sims = 2)
Run the code above in your browser using DataLab