Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kestrel614 opened this issue Jul 3, 2023 · 2 comments
Open

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

kestrel614 opened this issue Jul 3, 2023 · 2 comments

Comments

@kestrel614
Copy link

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?

  • If not, what will be a good way to compare the COMMOT results across different samples?
  • If so,
    • What is the possible range of communication_matrix?
    • Is communication_matrix normalized? Would you advise performing normalization/scaling to the scores before comparison? Should the scaling be on a sample level, on a (sample, pathway) level, or on a (sample, cell type 1, cell type 2) level?

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

@ysbioinfo
Copy link

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

@ccruizm
Copy link

ccruizm commented Aug 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants