cycombinepy¶
cycombinepy is a Python port of
cyCombine for batch correction of
single-cell cytometry data. It is AnnData-native and reuses mature Python
libraries for the numerical heavy lifting:
Component |
Library |
|---|---|
ComBat correction |
|
SOM clustering |
|
FCS I/O |
|
Batch-effect metrics |
The pipeline ported over unchanged from the R package is:
Batch-wise normalize each marker (
cycombinepy.normalize)Self-organizing map clustering of cells (
cycombinepy.create_som)Per-cluster ComBat correction with optional covariates (
cycombinepy.correct_data)
Step 1 operates on a normalized view so that downstream clusters represent biology rather than technical variation. Step 3 is applied to the unnormalized data per cluster so rare populations are not over-corrected.
Getting started
Reference