Teichlab / cellphonedb

MIT License
342 stars 105 forks source link

Error "Plan shapes are not aligned" #335

Open TehseusKunka opened 3 years ago

TehseusKunka commented 3 years ago

I have built a new interaction database using uniprot. When I running cellphonedb method statistical_analysis , it comes to an error of "Plan shapes are not aligned". I have check the row and colnames of the counts data. Also I have tried to make a new interaction data which have no repeated genes. But it still comes error. 图片

prete commented 3 years ago

Hi @TehseusKunka "Plan shapes are not aligned" is a pandas error. Does the test data work on your environment or you get the same error? Before looking more into this, could you confirm your cellphonedb and pandas version? (pip show pandas cellphonedb)

TehseusKunka commented 3 years ago

Thank you for reply. I have used the example test data on my environment and it did not get any error. The version of cellphonedb and pandas was 2.1.7 and 1.1.4. I wonder if it is caused by the amount of cells in my data. My data contains about 34000 cells data.

图片

Hi @TehseusKunka "Plan shapes are not aligned" is a pandas error. Does the test data work on your environment or you get the same error? Before looking more into this, could you confirm your cellphonedb and pandas version? (pip show pandas cellphonedb)

jmrussell commented 3 years ago

I discovered a fix for this in https://github.com/Teichlab/cellphonedb/issues/260#issue-799520967, it may be worth taking a look at.