使用decoupler时出现了两次报错
1.matrix和array中的展平操作
解决方案
找到pre.py文件,将 A1改为flatten() 即可,详细解释可见
https://blog.csdn.net/qq_45100273/article/details/104729269
2.matrix和array的转换问题
解决方案
将method_ora.py文件中报错行的 .A 删除即可
参考教程:
https://scanpy-tutorials.readthedocs.io/en/latest/pbmc3k.html
https://decoupler-py.readthedocs.io/en/latest/notebooks/cell_annotation.html