You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using function Read10x I got the following error: Error: as(<dgTMatrix>, "dgCMatrix") is deprecated since Matrix 1.5-0; do as(., "CsparseMatrix") instead
In function Read10x I changed list_of_data[[j]] <- as(object = list_of_data[[j]], Class = "dgCMatrix")
to list_of_data[[j]] <- as(object = list_of_data[[j]], Class = "CsparseMatrix")
Now it works, but I guess this has to be adjusted globally.
Thanks for raising this - Seurat 4.2.0 was just released on CRAN which addresses coercions which were deprecated in Matrix 1.5.0. Alternatively, you can try modifying the Matrix.warnDeprecatedCoerce option in order to toggle warnings/errors as described here under 1.5.0
I got an error when trying to feed the createCellChat function a SingleCellExperiment containing dgRMatrix format in logcounts. The error occurs in trying to coerce a dgRMatrix to dgCMatrix, but it works to coerce to "CsparseMatrix", which ultimately results in a dgCMatrix.
Supposedly this issue has been resolved in zellkonverter a couple years ago, (theislab/zellkonverter#55), but I just ran into this today with data imported with zellkonverter which was a dgRMatrix, and my packages are up to date. I then found a couple other issues with discussion of this particular conversion problem, so I would suggest making this small update so that it will seamlessly work with dgRMatrix input too!
theislab/zellkonverter#34satijalab/seurat#6438
When using function
Read10x
I got the following error:Error: as(<dgTMatrix>, "dgCMatrix") is deprecated since Matrix 1.5-0; do as(., "CsparseMatrix") instead
In function
Read10x
I changedlist_of_data[[j]] <- as(object = list_of_data[[j]], Class = "dgCMatrix")
to
list_of_data[[j]] <- as(object = list_of_data[[j]], Class = "CsparseMatrix")
Now it works, but I guess this has to be adjusted globally.
See here:
ms-gx@63185aa
The text was updated successfully, but these errors were encountered: