API reference¶
This page is generated from the docstrings of every public symbol in
cycombinepy. Click through to each function for the full parameter
list, return type, and source link.
Preprocessing¶
Asinh-transform marker columns of |
|
Batch-wise normalize marker columns of |
Clustering¶
Train a FlowSOM on the marker columns of |
Correction¶
Run normalization, SOM clustering, and per-cluster ComBat. |
|
Per-cluster ComBat batch correction. |
|
Raised when per-cluster ComBat fails under |
|
Raised when covariates are confounded under |
Correction reports and constants¶
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
Evaluation¶
Per (cluster, marker, batch-pair) 1-D Earth Mover's distance. |
|
Join uncorrected vs corrected EMD and compute percent reduction. |
|
Per (cluster, marker, batch) Median Absolute Deviation. |
|
Join uncorrected vs corrected MAD and compute percent reduction. |
Detection¶
Extended batch-effect diagnostic: express output plus UMAP and MAD. |
|
Quick 3-panel batch-effect summary (EMD heatmap, density, MDS). |
Utilities¶
Return var_names that are not in the non-markers blacklist (case-insensitive). |
|
Return True if |
I/O¶
Read all FCS files in |
Plotting¶
Per-marker density plot colored by batch. |
|
Thin wrapper around |
|
Heatmap of mean EMD per (cluster, marker) from |
Advanced evaluation¶
Run selected scib-metrics batch-correction metrics on an AnnData. |