Preprocessing#
Annotate, quality-control, normalize, select and batch-correct profiles.
Annotation#
|
Mark negative (and optionally positive) controls. |
|
Join the JUMP annotation onto profiles read from the Cell Painting Gallery. |
|
Resolve which |
|
Rename features to |
Quality control#
|
Compute per-cell and per-feature QC metrics. |
|
Drop cells that fail QC or sit in under-populated wells. |
|
Drop all-NaN, low-variance and blocklisted features. |
|
Flag outlying cells. |
|
Flag low-quality images and broadcast the verdict onto their cells. |
|
Drop every cell belonging to an image that failed |
|
Flag wells with too few cells, too much missing data, or unstable controls. |
|
Return at most |
Normalization#
|
Normalize features within groups, optionally fitting on reference rows only. |
|
Replace every feature by the normal quantile of its rank. |
Feature selection#
|
Flag the features worth keeping. |
|
Return a new object holding only the features flagged by |
|
Keep features whose values depend on the group, monotonically or otherwise. |
|
Score each feature by how consistently replicates of a perturbation agree on it. |
|
Test each feature for dependence on the batch, after whatever correction was applied. |
Batch correction#
|
Whiten profiles with a transform fitted on the reference rows. |
|
Typical variation normalization, then align each batch's controls onto the pooled controls [Celik et al., 2024]. |
|
Remove row and column position effects, per plate and per feature. |
|
Regress confounders out of every feature, within groups. |
|
Correct an embedding for batch with Harmony. |