spatial-transcriptomics-cell-type-annotation
Installation
SKILL.md
Spatial Cell Type Annotation (single-cell resolution)
Overview
Annotates cells and tissue niches in imaging-based spatial data, where each observation is one segmented cell. A tissue- and state-matched scRNA-seq reference is pulled from CELLxGENE, its labels are transferred with Harmony, and each cluster is then named from a table that puts its markers next to the transferred labels. Output: an AnnData with per-cell labels, confidence and niches, plus the evidence table behind every name.
Check the platform before anything else:
| Signal | Single-cell resolution -> this skill | Spot-based -> spatial-transcriptomics-deconvolution-cell2location |
|---|---|---|
| Genes | ~100-5,000 targeted panel | ~18,000-33,000 (whole transcriptome) |
| Files | cell_feature_matrix.h5, cells.csv(.gz), experiment.xenium |
filtered_feature_bc_matrix.h5, spatial/tissue_positions*.csv |
| Platforms | Xenium, MERFISH, CosMx, SeqFISH | Visium, Visium HD bins, Slide-seq, ST |