Agent skill · Documentation

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.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
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.

Facts
Files in the skill folder: 3
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/bioskills/sample-size/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## 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

What's inside
Steps it walks through
  1. Version Compatibility
  2. RNA-seq Sample Size
  3. DESeq2-based Estimation
  4. Single-cell Sample Size
  5. Sample Size by Assay Type
  6. Budget Optimization
  7. Related Skills
Ships with 2 files
  • examples/sample_size_estimation.R
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
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.

Keep going