earmingol / cell2cell

User-friendly tool to infer cell-cell interactions and communication from gene expression of interacting proteins
BSD 3-Clause "New" or "Revised" License
56 stars 12 forks source link

c2c.tensor.InteractionTensor TypeError #34

Closed mabro7766 closed 1 year ago

mabro7766 commented 1 year ago

Hello,

I was following the Brain_ASD Tensor-cell2cell tutorial and ran into an error at this stage: image

I started from the Brain_ASD.h5ad file and checked the outputs generated at each step of the tutorial and they match with yours up until this point.

Cheers!

earmingol commented 1 year ago

which version of pandas are you using? the issue seems to be related to that since newer versions do not support passing sets as an indexer of dataframes.

I would recommend installing an older version of pandas (e.g. 1.3.5). At some point I will fix this error to make it compatible with newer versions.

mabro7766 commented 1 year ago

Hi,

Thanks for your quick response! This indeed resolved my issue.

Cheers!