TrackCell Documentation#
Welcome to TrackCell’s documentation!
TrackCell is a Python package for processing and visualizing single-cell and spatial transcriptomics data, particularly designed for 10X Genomics HD spatial transcriptomics data.
Key features#
YardCluster — lightweight CPU spatial clustering with BANKSY-style identity/context embeddings, Leiden or Gaussian-mixture backends, automatic resolution selection, multi-hop neighborhood aggregation, and sketch-mode clustering for million-cell data.
SCT + RPCA integration — Seurat v4-parity batch integration across slices.
Post-clustering analysis — connected components, neighborhood enrichment, and differential enrichment between conditions (CellCharter-inspired).
IO & visualization — Visium HD cell segmentation, Xenium, Atera (official Zarr + streaming transcript point cloud), STOmics GEF, TMA slice separation, polygon rendering.
Contents:
- Installation
- Usage Guide
- Reading SpaceRanger Output
- Atera
- Logging
- Converting annohdcell Output to TrackCell Format
- Xenium TMA Slice Separation (DBSCAN)
- Visualization
- Computing Distances to a Label
- Distance to Colony Centroids (GC / Tumor Nests)
- Multi-Gene Color Blending
- Spatial Clustering (YardCluster)
- YardCluster scenario guide
- Batch integration (SCT + RPCA / Harmony / BBKNN)
- Benchmark
- API
- Examples
- Version 0.6.2
- Version 0.6.1
- Version 0.6.0
- Version 0.5.1
- Version 0.5.0
- Version 0.4.9
- Version 0.4.8
- Version 0.4.7
- Version 0.4.6
- Version 0.4.5
- Version 0.4.4
- Version 0.4.3
- Version 0.4.2
- Version 0.4.1
- Version 0.4.0
- Version 0.3.47
- Version 0.3.46
- Version 0.3.45
- Version 0.3.44
- Version 0.3.43
- Version 0.3.42
- Version 0.3.41
- Version 0.3.40
- Version 0.3.39
- Version 0.3.38
- Version 0.3.37
- Version 0.3.36
- Version 0.3.35
- Version 0.3.34
- Version 0.3.33
- Version 0.3.32
- Version 0.3.31
- Version 0.3.30
- Version 0.3.29
- Version 0.3.28
- Version 0.3.27
- Version 0.3.26
- Version 0.3.25
- Version 0.3.24
- Version 0.3.23
- Version 0.3.22
- Version 0.3.21
- Version 0.3.20
- Version 0.3.19
- Version 0.3.18
- Version 0.2.8
- Version 0.2.5
- Version 0.2.4
- Version 0.2.3
- Version 0.2.2
- Version 0.2.1
- Version 0.2.0