Agent skill · Design & Presentation

bio-experimental-design-batch-design

Designs experiments to minimize and account for batch effects using balanced layouts and blocking strategies. Use when planning multi-batch experiments, assigning samples to sequencing lanes, or designing studies where technical variation could confound biological signals.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill batch-design --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/batch-design/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: limma 3.58+ 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. # Batch Design and Mitigation **"Design experiment to avoid batch effects"** → Plan sample-to-batch assignments that confound biology with technical variation, and apply correction methods post-hoc. - R: `sva::ComBat()`, `limma::removeBatchEffect()` - Python: `scanpy.pp.combat()` for single-cell data ## Core Principle Batch effects are unavoidable. Good design makes them correctable. ## Design Rules 1. **Never confound batch with condition** - Each batch must contain all conditions 2. **Balance samples across batches** - Equal numbers per condition per batch 3. **Randomize within constraints** - Avoid systematic patterns 4. **Include controls** - Same samples across batches if possible ## Balanced Design Example ```r # BAD: Confounded design # Batch 1: All treated samples # Batch 2: All control samples # -

What's inside
Steps it walks through
  1. Version Compatibility
  2. Core Principle
  3. Design Rules
  4. Balanced Design Example
  5. Sample Assignment
  6. Detecting Batch Effects
  7. Correction Methods
  8. Documenting Design
  9. Related Skills
Ships with 2 files
  • examples/batch_design.R
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-experimental-design-batch-design skill do?

Designs experiments to minimize and account for batch effects using balanced layouts and blocking strategies. Use when planning multi-batch experiments, assigning samples to sequencing lanes, or designing studies where technical variation could confound biological signals.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill batch-design --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