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

Compare CCIs for more than two conditions #29

Open
zhanglab2008 opened this issue Apr 20, 2021 · 4 comments
Open

Compare CCIs for more than two conditions #29

zhanglab2008 opened this issue Apr 20, 2021 · 4 comments

Comments

@zhanglab2008
Copy link

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

@jsnagai
Copy link
Member

jsnagai commented Apr 28, 2021

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.

@zhanglab2008
Copy link
Author

Awesome! I will definitely try it out. Thanks!

@zhanglab2008
Copy link
Author

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!

@jsnagai
Copy link
Member

jsnagai commented Sep 6, 2021

@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.

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

2 participants