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
Identify spatial domains and tissue regions in spatial transcriptomics data using Squidpy and Scanpy. Cluster spots considering both expression and spatial context to define anatomical regions. Use when identifying tissue domains or spatial regions.
Original source
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-spatial-transcriptomics-spatial-domains
Skill Snapshot
Source Doc
Goal: Cluster spots based purely on gene expression, ignoring spatial location.
Approach: Build an expression-based neighbor graph, then apply Leiden community detection.
## Visualize on tissue
sq.pl.spatial_scatter(adata, color='leiden', size=1.3)
Goal: Cluster spots using only spatial proximity to identify contiguous tissue regions.
Approach: Build a spatial neighbor graph, then run Leiden clustering on the spatial graph.
Related skills
AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observation metadata (obs)…
Arboreto is a computational library for inferring gene regulatory networks (GRNs) from gene expression data using paralleli.
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…