MOFA analysis with missing modalities and sparse matrices fails with ValueError: setting an array element with a sequence
#106
Labels
bug
Something isn't working
The bug description
I have multiple samples, some of them have CITE-seq data, while others only have scRNA-seq data. Integrating them with MOFA and
use_obs='union'
fails:Error:
The reason
It all comes from this line. The problem is that
mdata[m].X
is sparse, whilex[ix, :]
is dense. Probably, the same logic as before should be applied here.System
The text was updated successfully, but these errors were encountered: