What problem does it solve? Spatial transcriptomics data from Xenium and VisiumHD platforms suffers from transcript diffusion between neighboring cells, contaminating cell type assignments and degrading downstream analysis quality. This Skill removes that spatial contamination using the SPLIT algorithm on top of RCTD deconvolution results. ## Core Features & Use Cases - Spatial Contamination Removal: Run SPLIT::purify() on matched count matrices and RCTD objects to produce purified gene expression data with improved cell type specificity. - Single and Multi-Sample Workflows: Process individual samples or batch-process cohorts sample-by-sample with memory management via chunk_size and parallel workers. - Quality Control and Comparison: Generate UMAP comparisons, QC metric tables, and per-cell-type purity rate analyses to validate purification improvements. - Use Case: After annotating a Xenium dataset with RCTD, purify the counts to remove contaminated cells, then compare original versus purified UMAPs to confirm sharper cell type boundaries before downstream analysis. ## Quick Start Ask the agent to run SPLIT purification on your spatial Seurat object using the accompanying RCTD results and compare the original and purified UMAP plots.