zcang / COMMOT

MIT License
75 stars 13 forks source link

Comparing cell-type-level communication scores across samples #17

Open kestrel614 opened 1 year ago

kestrel614 commented 1 year ago

Thank you for this wonderful tool!

I obtained cell-type-level CCC scores and their associated p-values for multiple samples through the following commands:

pathway = "ACTIVIN"
ct.tl.cluster_communication(adata, database_name = 'cellchat', pathway_name = pathway, clustering = 'cell_type', n_permutations = 100)
ccc_scores = adata.uns['commot_cluster-cell_type-cellchat-' + pathway]["communication_matrix"]
ccc_pvals = adata_disthr.uns['commot_cluster-cell_type-cellchat-' + pathway]["communication_pvalue"]

I found that even though prior data processing/normalization/analysis is uniform across samples, the CCC scores for the same (pathway, cell type 1, cell type 2) combo have quite distinct value distributions across different samples. CCC scores that are similarly significant (p-value = 0) can be very different in terms of magnitude across samples, making subsequent analysis and visualization difficult.

Therefore, I have the following questions:

Is it meaningful to compare the magnitude of CCC scores for the same cell type combination across samples?

Any advice will be much appreciated. Thanks again for your help!

ysbioinfo commented 11 months ago

I am facing the same problem. Wondering if there is any good solution

ccruizm commented 11 months ago

Same for me. Any thoughts on this would be incredibly helpful!