Error when projecting reference dataset with on-disc data matrix: "Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 't': Argument 'x' must be of type logical, integer or numeric, not 'list'" #9659
Labels
bug
Something isn't working
Hello,
after lengthy debugging I noticed that there is an issue when projecting a reference dataset onto a query dataset if the reference dataset "data" matrix is not stored in memory, but instead is stored on disk using the BPcells package. Here is a sample code:
This produces this non-informative error:
However, if I convert the "data" matrix to an in memory matrix, as per your tutorial:
ref.obj[["RNA"]]$data <- as(object = ref.obj[["RNA"]]$data, Class = "dgCMatrix")
The code runs through without an error:
Best
Stefan
The text was updated successfully, but these errors were encountered: