saezlab / liana

LIANA: a LIgand-receptor ANalysis frAmework
https://saezlab.github.io/liana/
GNU General Public License v3.0
160 stars 28 forks source link

Are frequency heatmaps comparable between conditions #143

Open Carolina-Toste opened 3 months ago

Carolina-Toste commented 3 months ago

Hi, thank you so much for such a great package.

I've been trying to use liana to compare cell-cell communication within my dataset of three conditions. And I was wondering how are the frequency of interactions calculated?

If I subset my Seurat into the different conditions and run the liana pipeline for each would the frequency heatmaps be comparable between conditions (even if for example I have a different number of cells in one condition)?

Thank you!

dbdimitrov commented 3 months ago

Hi @Carolina-Toste, apologies for the delayed response. I only noticed the issue now.

The frequency is quite simpe, it just counts the number of ~significant interactions. For comparisons between conditions I would recommend trying out one protocol with Tensor-cell2cell: https://github.com/saezlab/ccc_protocols

https://www.cell.com/cell-reports-methods/fulltext/S2667-2375(24)00089-4

mainharryHR commented 1 week ago

I have the same difficulties. I am exploring the strategies too. Please let me know if know how to do 3 or 4 conditions.

Thanks