banksy
CommunityClustering and visualizing BANKSY spatial data.
AuthorKetomihine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Banksy provides a cohesive workflow to analyze spatial transcriptomics data by constructing spatial neighbourhood graphs, generating BANKSY matrices that integrate self and neighbour features, and performing clustering and visualization to reveal tissue structure.
Core Features & Use Cases
- Graph construction and weighting: build spatial graphs with fixed neighbours and azimuthal components, then assign distance-based weights.
- Matrix fusion and clustering: concatenate self- with neighbour- matrices into BANKSY representations and cluster with Leiden or MCLUST; compare spatial vs non-spatial results.
- Visualization and downstream analysis: generate spatial maps, UMAPs, PCA embeddings, and plot connectivity; convert results back to AnnData for downstream analyses.
- Use Case: apply BANKSY to a sci data object to identify tissue regions in a Slide-seq or 10x spatial dataset and compare against manual labels.
Quick Start
- Load your spatial AnnData object with coordinates.
- Run initialize_banksy to create banksy_dict and compute neighbour graphs.
- Run generate_banksy_matrix to build the BANKSY matrix and perform clustering with run_Leiden_partition or run_mclust_partition; visualize results with plot_banksy.
Dependency Matrix
Required Modules
None requiredComponents
referencesscripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: banksy Download link: https://github.com/Ketomihine/my_skills/archive/main.zip#banksy Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.