-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dgRMatrix to dgCMatrix Conversion #55
Labels
bug
Something isn't working
Comments
Hi @const-ae Thanks for the issue. This has been reported before but I haven't quite got around to fixing it. Will make it a priority now, should be pretty quick. |
Great. Thanks for the quick fix :) |
Should be fixed on release and devel now. Give Bioconductor a couple of days or install from GitHub if you want it right away. |
laurenhsu1
added a commit
to laurenhsu1/CellChat
that referenced
this issue
May 22, 2024
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#34 satijalab/seurat#6438
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Luke,
when I tried to load the https://data.caltech.edu/tindfiles/serve/f0d567c5-cea6-4a60-923e-e9fb4a4019e8/ dataset (from Svensson 2019 Nature Biotech Supplement), I get the following error:
The error occurs here, and I think it is related to the discussion in #34 and the fix in 732789e
Unfortunately, it turns out that you cannot directly
coerce
adgRMatrix
to adgCMatrix
, but for some weird reason you have to coerce it toCsparseMatrix
:Created on 2021-06-21 by the reprex package (v2.0.0)
Currently, I can work around the issue by defining
but that is, of course, inconvenient for the average user.
Best,
Constantin
The text was updated successfully, but these errors were encountered: