bio-spatial-transcriptomics-spatial-communication
Analyze cell-cell communication in spatial transcriptomics data using ligand-receptor analysis with Squidpy. Infer intercellular signaling, identify communication pathways, and visualize interaction networks. Use when analyzing cell-cell communication in spatial context.
npx skills add majiayu000/claude-skill-registry --skill spatial-communication-gptomics-bioskills-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Spatial Cell-Cell Communication Analyze ligand-receptor interactions and cell-cell communication in spatial data. ## Required Imports ```python import squidpy as sq import scanpy as sc import pandas as pd import numpy as np import matplotlib.pyplot as plt ``` ## Ligand-Receptor Analysis with Squidpy ```python # Requires clustered data with cell type annotations adata = sc.read_h5ad('clustered_spatial.h5ad') # Build spatial neighbors if not already done sq.gr.spatial_neighbors(adata, coord_type='generic', n_neighs=6) # Run ligand-receptor analysis sq.gr.ligrec( adata, cluster_key='cell_type', # Column with cell type annotations n_perms=100, # Permutations for significance testing threshold=0.01, # P-value threshold copy=False, ) # Results stored in adata.uns['cell_type_ligrec'] ``` ## Access Ligand-Receptor Results ```python # Get results dictionary ligrec_results = adata.uns['cell_type_ligrec'] # Access different result components means = ligrec_results['means'] # Mean expression pvalues = ligrec_results['pvalues'] # P-values from permutation test metadata = ligrec_results['metadata'] # Ligand-receptor pair annotations print(f'Tested {len(means.columns)} ligand-receptor pairs') p
- Required Imports
- Ligand-Receptor Analysis with Squidpy
- Access Ligand-Receptor Results
- Filter Significant Interactions
- Visualize Ligand-Receptor Results
- Specific Ligand-Receptor Pairs
- Custom Ligand-Receptor Database
- Interaction Heatmap
- Network Visualization
- Spatial Visualization of Communication
- Compare Communication Between Conditions
- Pathway Enrichment of Communication Partners
- Export Results
- Related Skills
What does the bio-spatial-transcriptomics-spatial-communication skill do?
Analyze cell-cell communication in spatial transcriptomics data using ligand-receptor analysis with Squidpy. Infer intercellular signaling, identify communication pathways, and visualize interaction networks. Use when analyzing cell-cell communication in spatial context.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill spatial-communication-gptomics-bioskills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
