Open carlosj-rr opened 1 year ago
Ahh, sorry, Carlos - the documentation is unclear with regards to what data SAMAP is expecting.
SAMAP expects the AnnData.X
to be in sparse format (scipy.sparse
matrix). Can you check if your data is dense or sparse?
Hello,
I am following the notebook for some of my analyses.
It all goes swimmingly (I've loaded SAM objects, as in the notebook), but when I instantiate the SAMAP() object in the line:
I get an AttributeError from numpy:
On first sight, it seemed like a bug since 'multiply' is indeed not an attribute of numpy arrays, but then I wondered that perhaps I was loading some data in the wrong format.
Could I add any more information to make my case clear?
Thanks a lot,
Carlos