Open shahrozeabbas opened 1 month ago
Hi @shahrozeabbas,
Thank you for using my package!
I am sorry you are facing this issue. I did incorporate some Seurat v5
support back when it was released as a Beta. However, I think it was mostly focused on handling Assay5
vs Assay
assay objects and how the different data slots were retrieved. So chances are more support is still missing!
In this case, it seems its due to trying to work with a very large file, for which I really did not implement a fix as far as I remember. Is this correct? As a starters, does computing in on a subset of the data solve the issue?
It is the first time facing this issue, can you also provide the output of rlang::last_trace()
?
Thanks for your help! Enrique
I believe the issue stems from the handling of count matrices. Seuratv5
changes the way data slots are retrieved but it also allows support for the IterableMatrix
from BPcells
. This is what makes it possible to load larger datasets into R and Seurat
. For plotting, it seems that the functions within SCpubr
are trying to cast the IterableMatrix
class to a dgCMatrix
which has the 2^31
size limit in R. I think Seurat
plotting functions are able to handle this which makes sense, but somewhere within SCpubr
if you're using asMethod()
to convert the IterableMatrix
, it will cause problems for larger datasets that normally wouldn't fit into R.
I will have to reproduce the error later today and update you with the output, but thanks for the quick reply!
Hi @shahrozeabbas,
Thanks for waiting! I am currently under a heavy workload at the PhD. I will come back to this issue as soon as possible!
Enrique
Hi,
Love your package and hope to continue using it!
I believe
SCpubr
has support forSeuratv5
but I was having some trouble with thedo_DimPlot
function. Am I missing something?