omicverse-single-cell-cellphonedb-communication
Installation
SKILL.md
OmicVerse Single-Cell CellPhoneDB Communication
Goal
Run the reusable CellPhoneDB communication spine on single-cell AnnData: verify the expression matrix and cell-type annotations, run ov.single.run_cellphonedb_v5(...), convert the results into the visualization-ready interaction AnnData, then optionally continue into aggregated network plots, pathway summaries, ligand-receptor contribution views, bubble plots, chord diagrams, and signaling-role analysis through ov.pl.CellChatViz(...). Keep the skill centered on one processed CellPhoneDB result object rather than on the tutorial dataset.
Quick Workflow
- Inspect the input
AnnData, especially the cell-type column, gene-symbol convention, and whether the matrix looks compatible with CellPhoneDB. - Ensure the CellPhoneDB database archive is available or let the wrapper download it automatically.
- Run
ov.single.run_cellphonedb_v5(...)with explicit filtering, permutation, and output settings. - Treat the returned
cpdb_resultsdict andadata_cpdbobject as the shared handoff point for all downstream visualization branches. - Initialize
viz = ov.pl.CellChatViz(adata_cpdb, palette=...). - Choose the downstream branch the user actually asked for: aggregated network, pathway-level aggregation, ligand-receptor extraction, bubble/chord views, or signaling-role analysis.
- Validate the expected layers, sender/receiver annotations, and pathway metadata before trusting any plot.