Batch Effect Audit

Check whether technical batches rather than biology or treatment drive a result. Starts from the design: tabulates condition against batch (plate, lane, day, operator, lot, instrument), because a condition wholly in one batch cannot be separated by any correction and needs a randomised rerun. Otherwise runs PCA or UMAP coloured by batch and condition, a variance decomposition and control samples across batches as anchors, corrects only via a model term or ComBat on an unconfounded design, then checks positive controls survived. Use for "samples cluster by run date", "two plates, treatment on one", "do I need batch correction", "PCA separates by sequencing lane", "instrument change halfway through the study". Not for clustered observations (nonindependence-audit), unit errors (unit-mismatch-audit) or whole-manuscript statistics (paper-statistics-review).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 10334b9cb6

Frequently asked questions

npx get-skill add greenblacked/batch-effect-audit