jinworks / CellChat

R toolkit for inference, visualization and analysis of cell-cell communication from single-cell and spatially resolved transcriptomics
GNU General Public License v3.0
299 stars 52 forks source link

Replicating the Ligand-Receptor Interaction Explorer for v2 #11

Open luxhexmaster opened 1 year ago

luxhexmaster commented 1 year ago

Hi Suoqin,

This is probably a silly question. I was wondering if there's a way to generate or see (either by creating a dataframe or table) a list of all the pathways and the receptor-ligand interactions that make up these pathways on CellChat v2 using R.

P.S. Thank you very much for all the effort you've put into this package, its been an amazing resource for my research efforts.

Best, Lux

sqjin commented 1 year ago

@luxhexmaster CellChat.mouse$interaction is a dataframe. So you can simply check the list of all the pathways via unique(CellChat.mouse$interaction$pathway_name)