skills/smithery.ai/bio-spatial-transcriptomics-spatial-neighbors

bio-spatial-transcriptomics-spatial-neighbors

Installation
SKILL.md

Version Compatibility

Reference examples tested with: matplotlib 3.8+, numpy 1.26+, scanpy 1.10+, scikit-learn 1.4+, scipy 1.12+, squidpy 1.3+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(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 Neighbor Graphs

"Build a spatial neighborhood graph" → Construct spatial connectivity graphs using k-nearest neighbors, Delaunay triangulation, or radius-based methods for downstream spatial statistics.

  • Python: squidpy.gr.spatial_neighbors(adata, coord_type='generic', n_neighs=6)

Build spatial neighbor graphs for connectivity-based analyses.

Required Imports

Installs
1
First Seen
May 3, 2026
bio-spatial-transcriptomics-spatial-neighbors from smithery.ai