biotender-max/awesome-bio-agent-skills/power-analysis
Claude Code and agent skill by biotender-max/awesome-bio-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Calculates statistical power and minimum sample sizes for RNA-seq, ATAC-seq, and other sequencing experiments. Use when planning experiments, determining how many replicates are needed, or assessing whether a study is adequately powered to detect expected effect sizes.
Install
npx vskill@latest install biotender-max/awesome-bio-agent-skills/power-analysisSKILL.md
The same SKILL.md was published earlier as biotender-max/awesome-bio-agent-skills/power-analysis.
Version Compatibility
Reference examples tested with: RNASeqPower 1.42+, pwr 1.3+
Before using code patterns, verify installed versions match. If versions differ:
- R:
packageVersion("<pkg>")then?function_nameto 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.
Power Analysis for Sequencing Experiments
"How many replicates do I need for RNA-seq?" → Calculate statistical power or minimum sample size given sequencing depth, biological variability, and expected effect size.
- R:
RNASeqPower::rnapower(),pwr::pwr.t.test()
Core Concept
Power = probability of detecting a true effect. Underpowered studies waste resources; overpowered studies are inefficient.
RNA-seq Power Analysis
Goal: Determine whether a planned RNA-seq experiment has sufficient statistical power to detect biologically meaningful fold changes, or calculate the minimum sample size needed for a target power.
Approach: Provide sequencing depth, biological coefficient of variation, expected fold change, and significance level to rnapower, which uses a negative binomial model to compute power or required sample size.
CV Guidelines
| Experiment Type | Typical CV | Notes | |
|---|---|---|---|
| Cell lines | 0.1-0.2 | Low variability | |
| Inbred mice | 0.2-0.3 | Moderate | |
| Human samples | 0.3-0.5 | High variability | |
| Primary cells | 0.3-0.4 | Donor-dependent |
ATAC-seq Power (ssizeRNA)
Quick Reference
| Effect Size | Recommended n (CV=0.4) | |
|---|---|---|
| 4-fold | 3 per group | |
| 2-fold | 5-6 per group | |
| 1.5-fold | 10-12 per group | |
| 1.25-fold | 20+ per group |
Related Skills
- experimental-design/sample-size - Detailed sample size calculations
- experimental-design/batch-design - Accounting for batch effects in design
- differential-expression/deseq2-basics - Running the actual DE analysis
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bioskills/power-analysis/SKILL.md
Popularity
- Repository stars
- 204
- Repository forks
- 35
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/biotender-max/awesome-bio-agent-skills/power-analysis)