-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
SingleCellExperiment
/Seurat
should contain dgCMatrix
instead of dgRMatrix
#202
Comments
Looking at my code, I hardly use dgRMatrix, most of my converted matrices are in dgCMatrix |
Can you share an example of what your use case is? I agree that |
I use anndataR to integrate R methods in my mostly python based workflow. I will routinely read data from on-disk .h5ads into Seurat / SingleCellExperiment to then apply tools e.g. presto These tools (Is suspect all tools calling common {Matrix} functions) will then crash with an error message about the matrix having the wrong format. I would expect a Seurat / SingleCellExperiment object generated by anndataR to be out-of-the-box compatible with functions taking Seurat / SingleCellExperiment objects as input |
Can you please give a code example? If you are using {anndataR} functions to convert to |
Yes here is what happened:
I think that this should "just work". |
Thanks for the extra detail. I will update the issue title to make it a bit clearer. @rcannood @LouiseDck this is pretty important for anyone who wants to read a |
SingleCellExperiment
/Seurat
should contain dgCMatrix
instead of dgRMatrix
I was following the discussion here, and read the issue on I am not sure whether they should be Do you have any thoughts @rcannood ? |
Similiar to the discussion in theislab/zellkonverter#34
A lot of tools like https://github.com/immunogenomics/presto/ will try to call functions from the Matrix package that error when encountering a dgRMatrix.
The text was updated successfully, but these errors were encountered: