bio-spatial-transcriptomics-spatial-visualization
SKILL.md
Version Compatibility
Reference examples tested with: matplotlib 3.8+, numpy 1.26+, scanpy 1.10+, squidpy 1.3+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
Spatial Visualization
"Plot gene expression on my tissue section" → Overlay gene expression, cluster assignments, or continuous scores on spatial coordinates with optional histology image background.
- Python:
squidpy.pl.spatial_scatter(adata, color='gene'),scanpy.pl.spatial(adata, color='leiden')
Create visualizations for spatial transcriptomics data.