AnnData
AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observation metadata (obs)…
Maintainer FreedomIntelligence · Last updated April 1, 2026
Spatial niche analysis with Nicheformer foundation model for tissue microenvironment.
Original source
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/nicheformer-spatial-agent
Skill Snapshot
Source Doc
Spatial Context Embeddings: Generate embeddings that capture both gene expression and spatial context.
Niche Discovery: Identify recurrent cellular neighborhoods across tissues.
Zero-Shot Cell Type Annotation: Transfer cell type labels without retraining.
Spatial Perturbation Prediction: Predict effects of removing cell types from niches.
Cross-Tissue Transfer: Apply models trained on one tissue to another.
Tissue Architecture Analysis: Quantify spatial organization patterns.
| Component | Description | Parameters |
|---|---|---|
| Expression Encoder | Gene expression transformer | ~100M |
| Spatial Encoder | Neighborhood graph attention | ~50M |
| Fusion Layer | Cross-attention expression + spatial | ~30M |
| Pretraining Data | 53M+ spatially resolved cells | Multi-tissue |
| Platform | Coverage | Resolution |
|---|---|---|
| 10x Xenium | Full support | Subcellular |
| MERFISH | Full support | Subcellular |
| CosMx | Full support | Subcellular |
| Visium | Supported | 55 μm spot |
| Slide-seq | Supported | 10 μm bead |
| seqFISH+ | Supported | Subcellular |
| STARmap | Supported | Subcellular |
Related skills
AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observation metadata (obs)…
Cell segmentation from multiplexed tissue images. Covers deep learning (Cellpose, Mesmer) and classical approaches for nuclear and whole-cel…
Extract, process, and deduplicate reads using Unique Molecular Identifiers (UMIs) with umi_tools. Use when library prep includes UMIs and ac…
Integrate multiple scRNA-seq samples/batches using Harmony, scVI, Seurat anchors, and fastMNN. Remove technical variation while preserving b…