First draft- Not Ready yet
Standard Imaging Mass Cytometry Normalization and clustering Protocol
Author: Xiaofei Yu , Medis ,Tina, Shabnam, Wies.
Time : 2026.01.13
Standard Operating Procedure (SOP) IMC Data Quality Control, Normalization, and Clustering Step 0. Pre-Normalization Quality Assessment Step 0.1 Generate Summary Statistics
- For each marker, calculate: o Maximum o Median o Mean o Standard deviation
- Compile results into a summary table. Step 0.2 Inspect Extreme Values
- Identify markers or ROIs with unusually high signal.
- Open corresponding images and check for: o Artifacts o Cell aggregation
- If shining or abnormally bright structures are present: o Remove aggregate cells. o Inspect cells surrounding the removed aggregates to ensure they are not affected.
Step 1. Normalization and Scaling Step 1.1 Perform Standard Normalization and Scaling
- Apply the standard normalization and scaling procedure to all ROIs.
- Optional : Asinh
Step 2. Post-Normalization Quality Control Step 2.1 Check Scanning Quality Using Histograms
- Generate histograms of Argon80 and Xenon132 for each ROI.
- Evaluate histogram shapes: o Normal-like distributions → acceptable. o Abnormal distributions (e.g., strong skew or non-normal shape) → proceed to Step 2.1.3.
- If abnormalities are observed: o Inspect raw images for: Bright lines Dim lines o Determine whether artifacts affect other channels: If yes → consider removing the image. If no → keep the image.
- If necessary, consider using median-based normalization instead of mean.
Step 2.2 Generate Marker × ROI Heatmap
- Create a heatmap of markers vs. ROIs: o After normalization o scale = NULL
- Identify abnormal patterns: o Abnormal markers across all ROIs o Abnormal ROIs with globally high intensities
- Interpret abnormalities: o Marker-wide abnormalities: Background staining Staining failure True high expression o ROI-specific abnormalities: Likely technical issues or intrinsic sample characteristics
Step 2.3 Perform PCA (Outlier Detection)
- Generate: o PCA of markers o PCA of ROIs
- Identify outlier images.
- Determine contributing markers: o If only a few markers are problematic → consider threshold adjustment. o If most markers are problematic → remove the image.
Step 2.4 Perform UMAP Analysis
- Generate UMAPs colored by: o ROI o Sample ID o Treatment group
- Evaluate: o Batch effects o Unexpected or “weird” clusters
- If strong batch effects are detected: o Perform additional PCA reduction with Harmony correction.
- If abnormal clusters are detected: o Verify whether they represent real biological signals. o If not → remove affected cells or images.
Step 2.5 Marker Distribution Dot Plot
- Generate dot plots displaying: o 10% o 50% o 99% quantiles for a specific marker across images.
- Interpretation: o If the 10% quantile of one image is close to the 50% quantile of others: Indicates high background in that image. Case A: All Images Affected
- Optimize thresholds and percentile cutoffs globally.
- If values are far below threshold: o Re-inspect images: No cells detected → increase threshold. Signal too weak → decrease threshold. Case B: Only Some Images Affected
- Decide whether to remove or keep affected images.
- If keeping: o Lineage markers: Adjust thresholds individually. o State markers: Either exclude from downstream statistics, or Avoid scaling for problematic images.
Step 3. Approval Criteria for Normalization
- Generate UMAPs colored by: o ROI o Sample ID o Lineage markers o All markers
- Accept normalization if: o ROI and Sample ID distributions are mixed. o Lineage markers show clear separation.
Step 4. Clustering Analysis (Phenograph) Step 4.1 Determine Optimal k
- Run Phenograph with multiple candidate k values.
- Generate: o Cluster tree o Heatmaps scaled by: Lineage markers Cluster
- Select k that: o Produces biologically interpretable clusters o Avoids merging rare and unrelated cell types o Does not assign excessive markers to single clusters
Step 4.2 Cluster Annotation Step 4.2.1 Initial Annotation
- Annotate clusters based on biological knowledge.
- Record: o Positive markers o Controversial markers
- Label uncertain clusters as: o Undefined / Unassigned / Uncertain
Step 4.2.2 Image-Based Validation
- Validate annotations using ImageJ.
- Confirm: o Marker localization o Absence of biologically implausible combinations
- Add notes for mixed or uncertain clusters.
Step 4.2.3 Resolve Mixed or Uncertain Clusters Option A: Reclustering
- Subset suspected mixed populations (e.g., myeloid cells).
- Rerun Phenograph.
- Select optimal k.
- Merge refined clusters back into the full dataset. Option B: Cluster Splitting
- Generate scatter plots to detect bimodal populations.
- Generate UMAPs of the relevant subset.
- Map lineage and functional markers.
- Define cutoffs in UMAP space.
- Validate results in ImageJ. Important: After every cutoff adjustment, repeat ImageJ validation. Iterate until annotation is correct. these can be a loop ,it costs time, be patient
Step 4.2.4 PCA Perform: • PCA of markers • PCA of annotations
Step 4.3 Final Quality Control
- Generate final: o Heatmap o UMAP with annotated clusters
Optional question . Address Edge Effects
- Inspect UMAPs for clusters driven by edge effects.
- Manually inspect affected regions.
- Apply correction if necessary (e.g., using CellProfiler).