batchelor icon indicating copy to clipboard operation
batchelor copied to clipboard

Problem with mixed DelayedMatrix & dgCMatrix data type

Open ycl6 opened this issue 3 years ago • 2 comments

I have a list of SingleCellExperiment objects from 10X and non-10X experiments, and the counts and logcounts assays have a mixture of DelayedMatrix (10X) & dgCMatrix (non-10X) data types.

In such case I noticed fastMNN will go into some kind of never-ending loop and does not complete even after a long long time. However, fastMNN will run perfectly and very quickly If I specifically changed the logcounts assays from DelayedMatrix to dgCMatrix so that all the inputs have the dgCMatrix data type.

R version 4.0.3 (2020-10-10)
batchelor_1.6.3

ycl6 avatar May 04 '21 09:05 ycl6