Skip to content
Data
Skill

/bio-experimental-design-power-analysis

<!--

From plugin
openclaw-medical-skills
2.9k200 skills
Install
$ npx -y skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-experimental-design-power-analysis --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/bio-experimental-design-power-analysis

Context preview

The summary Claude sees to decide when to auto-load this skill.

<!--

SKILL.md

bio-experimental-design-power-analysis.SKILL.md

<!--

COPYRIGHT NOTICE

This file is part of the "Universal Biomedical Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->

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

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

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->

Read more
Ships withopenclaw-medical-skills

The largest open-source medical AI skill library for OpenClaw.

Get the whole plugin
Stats
2,921
Stars
410
Forks
Active
Maintenance
Python
Language
20d ago
Last commit
5mo ago
Created

Repo: FreedomIntelligence/OpenClaw-Medical-Skills