This skill covers analyzing cell-cell communication in spatial transcriptomics data using ligand-receptor analysis with Squidpy. Identify which cell types are communicating and through which signaling pathways.
pip install squidpy scanpy pandas networkx matplotlibTell your AI agent what you want to do:
- "Run ligand-receptor analysis on my spatial data"
- "Find which cell types are communicating"
"Analyze cell-cell communication in my Visium data"
"Run ligand-receptor analysis between cell types"
"Find interactions between T cells and macrophages"
"Check if CCL2-CCR2 signaling is active"
"Show a heatmap of cell-cell interactions"
"Plot the communication network"
- Verify cell type annotations exist
- Build spatial neighbor graph
- Run ligand-receptor permutation test
- Filter significant interactions
- Visualize results
- Cell type annotations - Required before running communication analysis
- Spatial neighbors - Analysis considers spatial proximity
- Permutations - More permutations = more robust p-values but slower
- Custom databases - Can use custom ligand-receptor pair lists