This guide covers calculating statistical power for high-dimensional genomics experiments: bulk RNA-seq, scRNA-seq, ATAC-seq, ChIP-seq, methylation, and proteomics. The central idea is that power in a sequencing experiment is a per-gene quantity that depends on each gene's mean expression and dispersion, so the honest summary is the marginal (average) power across the transcriptome at a target false discovery rate. Closed-form formulas using a single coefficient of variation give a fast approximation; simulation from the empirical mean-dispersion trend is the defensible default for count data. The guide also covers the depth-versus-replicate tradeoff and why observed (post-hoc) power should never be used to interpret a null result.
# R/Bioconductor
install.packages('BiocManager')
BiocManager::install(c('RNASeqPower', 'PROPER', 'DESeq2', 'edgeR'))
install.packages('pwr')
# powsimR (GitHub; pin a commit for reproducibility)
# remotes::install_github('bvieth/powsimR')
Tell your AI agent what you want to do: - "How many replicates do I need to detect 1.5-fold changes in RNA-seq at 80% power?" - "Estimate marginal power across the transcriptome at FDR 0.05 by simulation" - "Should I sequence deeper or add samples on a fixed budget?" - "Estimate power for my scRNA-seq disease-versus-control comparison" - "Is reporting observed power a valid way to explain my non-significant result?"
"I'm comparing drug-treated versus control cells, expect biological CV around 0.3, and want to detect 1.5-fold changes. How many replicates for 80% power, and can you confirm with simulation?"
"Calculate the marginal power of a 5-versus-5 RNA-seq design at FDR 0.05 using PROPER with pilot dispersions."
"How does power scale with number of patients versus number of cells per patient for a scRNA-seq differential expression study?"
"I have budget for either 20M reads on 4 samples or 10M reads on 8 samples per group. Which gives more power to detect DE genes?"
"A reviewer says my study is underpowered because the observed power was 0.3. How should I respond?"