saezlab / liana-py

LIANA+: an all-in-one framework for cell-cell communication
http://liana-py.readthedocs.io/
GNU General Public License v3.0
156 stars 21 forks source link

why the output dont include the cellchat part? #145

Open LJZYaaa opened 1 week ago

LJZYaaa commented 1 week ago

after i run the command li.mt.rank_aggregate.by_sample, i find that the result don't have the part of cellchat what is called 'lr_probs' in the tutorail, why ? image

dbdimitrov commented 1 week ago

Hi @LJZYaaa,

You would need to add CellChat as a method to RankAggregate in order to get it's output: See here: https://liana-py.readthedocs.io/en/latest/notebooks/basic_usage.html#Customizing-LIANA's-rank-aggregate

Daniel

LJZYaaa commented 1 week ago

Hi, gald to receive your reply ! But when i try to run the standard code in tutorial as below, it report an error :) image Do you have any idea about it ?

dbdimitrov commented 1 week ago

Hi @LJZYaaa

Yes, you must import those objects from liana - as done in a few lines above in the same tutorial.

Daniel