bio-experimental-design-power-analysis

SkillMedia

Lets your agent plan biology experiments and run power analysis to size sample counts.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the bio-experimental-design-power-analysis skill

About this capability

The largest open-source medical AI skills library for OpenClaw🦞.

What this skill tells your AI

The instructions your AI receives, as published by freedomintelligence/openclaw-medical-skills in skills/bio-experimental-design-power-analysis/SKILL.md and read by ahel’s review.


name: bio-experimental-design-power-analysis description: 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. tool_type: r primary_tool: RNASeqPower measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:

  • read_file
  • run_shell_command

Power Analysis for Sequencing Experiments

Core Concept

Power = probability of detecting a true effect. Underpowered studies waste resources; overpowered studies are inefficient.

RNA-seq Power Analysis

library(RNASeqPower)

# Typical parameters
# - depth: sequencing depth per sample (reads/gene)
# - cv: biological coefficient of variation (0.1-0.4 typical)
# - effect: fold change to detect (1.5 = 50% change)
# - alpha: significance level (0.05 standard)

# Calculate power for given sample size
rnapower(depth = 20, n = 3, cv = 0.4, effect = 2, alpha = 0.05)

# Calculate required samples for target power
rnapower(depth = 20, cv = 0.4, effect = 2, alpha = 0.05, power = 0.8)

CV Guidelines

Experiment TypeTypical CVNotes
Cell lines0.1-0.2Low variability
Inbred mice0.2-0.3Moderate
Human samples0.3-0.5High variability
Primary cells0.3-0.4Donor-dependent

ATAC-seq Power (ssizeRNA)

library(ssizeRNA)

# For differential accessibility
size.zhao(m = 10000, m1 = 500, fc = 2, fdr = 0.05, power = 0.8,
          mu = 10, disp = 0.1)

Quick Reference

Effect SizeRecommended n (CV=0.4)
4-fold3 per group
2-fold5-6 per group
1.5-fold10-12 per group
1.25-fold20+ 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

Signals

GitHub stars
3k
Forks
407
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
bio-experimental-design-power-analysis
Source
github.com/freedomintelligence/openclaw-medical-skills