算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
squidpy【设计与创意】Use Squidpy for spatial omics data loading, graph statistics, image analysis, visualization, tool workflows, and experimental SpatialData imaging.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves Squidpy, the scverse toolkit for spatial molecular and spatial single-cell analysis in Python. Squidpy builds on AnnData, Scanpy, SpatialData, scikit-image, and Matplotlib to load spatial data, build spatial neighbor graphs, compute spatial statistics, work with tissue images, and render spatial plots.
python -c "import squidpy as sq; print(sq.__version__)" or run scripts/squidpy_import_check.py --json.spatial_key, library_id, table_key, image_key, labels_key, connectivity_key, and output keys when ambiguity is possible.sub-skills/datasets-and-io/SKILL.md for squidpy.datasets, squidpy.read.*, .h5ad/SpatialData validation, Visium/Vizgen/Nanostring layouts, cache behavior, and download avoidance.sub-skills/graph-analysis/SKILL.md for squidpy.gr graph builders, spatial neighbor graphs, graph statistics, ligand-receptor analysis, Moran/Geary autocorrelation, Ripley statistics, Sepal, niches, and custom graph builders.sub-skills/image-analysis/SKILL.md for stable squidpy.im ImageContainer workflows, image processing, segmentation, and AnnData image-feature extraction.sub-skills/visualization/SKILL.md for squidpy.pl spatial overlays, segmentation plots, graph/statistic plots, ligand-receptor heatmaps, and variation-by-distance plots.sub-skills/tools-workflows/SKILL.md for squidpy.tl.sliding_window, squidpy.tl.var_by_distance, design-matrix outputs, and plotting handoffs.sub-skills/experimental-imaging/SKILL.md for squidpy.experimental SpatialData tissue detection, tiling, image QC, stain workflows, experimental feature extraction, tiling QC, stitching, and experimental plots.datasets-and-io; graph, plotting, image, and experimental workflows all depend on correct coordinate/table/image keys.graph-analysis before using graph plot functions in visualization.image-analysis for ImageContainer tasks; use experimental-imaging only when the task is explicitly SpatialData-based or needs experimental tissue/tiling/stain/QC APIs.tools-workflows to create sliding-window assignments or distance-to-anchor design matrices, then route plot styling to visualization.references/package-overview.md for public modules, object conventions, package requirements, and workflow ownership.references/troubleshooting.md for install/import issues, optional dependencies, dataset downloads, AnnData/SpatialData key mismatches, plotting backends, and deprecated napari-plugin guidance.references/repo-provenance.md for the repository snapshot and evidence paths used to generate this skill.references/repo-routing-metadata.json for structured managed-router scenario placement.sq.datasets.* as potentially networked; local sq.read.* and saved .h5ad/SpatialData reads are safer for offline work.sq.gr.spatial_neighbors_knn, sq.gr.spatial_neighbors_radius, sq.gr.spatial_neighbors_delaunay, and sq.gr.spatial_neighbors_grid; avoid new code built around deprecated sq.gr.spatial_neighbors.n_jobs=1, small permutation counts, preview=False, and noninteractive Matplotlib backends for smoke tests and automation.squidpy.experimental surfaces can change faster than stable sq.im, sq.gr, sq.tl, and sq.pl APIs.