bio-experimental-design-sample-size
Estimates required sample sizes for differential expression, ChIP-seq, methylation, and proteomics studies. Use when budgeting experiments, writing grant proposals, or determining minimum replicates needed to achieve statistical significance for expected effect sizes.
npx skills add BioTender-max/awesome-bio-agent-skills --skill sample-size --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Version Compatibility Reference examples tested with: DESeq2 1.42+ Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Sample Size Estimation **"How many samples do I need for my experiment?"** → Estimate required biological replicates per group for a target power level given expected effect sizes and variability. - R: `ssizeRNA::ssizeRNA_single()`, `DESeq2` pilot dispersion estimates - scRNA-seq: `powsimR::simulateDE()` ## RNA-seq Sample Size ```r library(ssizeRNA) # Estimate sample size for RNA-seq # m = total genes, m1 = expected DE genes # fc = fold change, fdr = target FDR result <- ssizeRNA_single(nGenes = 20000, pi0 = 0.9, m = 200, mu = 10, disp = 0.1, fc = 2, fdr = 0.05, power = 0.8) result$ssize # Required n per group ``` ## DESeq2-based Estimation **Goal:** Derive realistic dispersion estimates from pilot RNA-seq data for use in power and sample size calculations. **Approach:** Run DESeq2 on pilot count data t
- Version Compatibility
- RNA-seq Sample Size
- DESeq2-based Estimation
- Single-cell Sample Size
- Sample Size by Assay Type
- Budget Optimization
- Related Skills
What does the bio-experimental-design-sample-size skill do?
Estimates required sample sizes for differential expression, ChIP-seq, methylation, and proteomics studies. Use when budgeting experiments, writing grant proposals, or determining minimum replicates needed to achieve statistical significance for expected effect sizes.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill sample-size --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
