CrossTalkeR icon indicating copy to clipboard operation
CrossTalkeR copied to clipboard

Compare CCIs for more than two conditions

Open zhanglab2008 opened this issue 4 years ago • 4 comments

Hi team, I wonder if CrossTalkeR can be used to compare three conditions? Let's say, control, disease and treatment. Thanks!

zhanglab2008 avatar Apr 20 '21 19:04 zhanglab2008

Hi @zhanglab2008, in the current version you are able to compare more than one condition per time. Let's say that you have control, disease 1 and disease 2. You can use all the conditions in CrossTalkeR by passing the respective LR interaction List. We just ask you to be careful because the comparison always consider that the first position in the paths list is the control, it means that all the comparisons will be done using it as a reference. Because of that in the end the comparison in your result will be disease 2-control and disease 1-control.

jsnagai avatar Apr 28 '21 17:04 jsnagai

Awesome! I will definitely try it out. Thanks!

zhanglab2008 avatar May 07 '21 03:05 zhanglab2008

Just tried it out. It works very well. Just one more question: how can I set the legend scale (for example, Weights, PageRank, etc) the same across multiple comparisons? I ask this because I want to compare the results from different comparisons ( e.g. Disease 1 versus Ctrl and Disease 2 versus Ctrl, to see which disease altered the cell cell communication more). Thanks for developing this timely algorithm indeed. I like it a lot!

zhanglab2008 avatar May 07 '21 13:05 zhanglab2008

@zhanglab2008 sorry for the late reply, you should be able to do it using the data object and the emax parameter in the plot_cci function.

jsnagai avatar Sep 06 '21 13:09 jsnagai