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
First off, I really appreciate this package and have found it the most useful for my own purposes of single-cell analysis in both Python and R.
When looking at the converted output in Python, I've noticed that writeH5AD converts the expression matrices from R into Compressed Sparse Column matrices, i.e., scipy.sparse's csc_matrix format. This is generally fine, but I have noticed that it does increase the size of the written h5ad file (almost double), which can be a problem for bigger datasets, which for my laptop, is on the order of 100K cells.
Is there any way to specify that writeH5AD converts assays as Compressed Sparse Row matrices, so that I don't have to convert all of the matrices in Python?
Thank you!
Best wishes,
Axel.
The text was updated successfully, but these errors were encountered:
Thanks for your kind words about {zellkonverter}! We don't have an argument for this currently but perhaps we should, or it might even make sense to always convert to csr_matrix if that is the preferred format.
I will try to look into this sometime soon but if you wanted to contribute a PR that would also be great.
Hi Zellkonverter team!
First off, I really appreciate this package and have found it the most useful for my own purposes of single-cell analysis in both Python and R.
When looking at the converted output in Python, I've noticed that
writeH5AD
converts the expression matrices from R into Compressed Sparse Column matrices, i.e.,scipy.sparse
'scsc_matrix
format. This is generally fine, but I have noticed that it does increase the size of the written h5ad file (almost double), which can be a problem for bigger datasets, which for my laptop, is on the order of 100K cells.Is there any way to specify that
writeH5AD
converts assays as Compressed Sparse Row matrices, so that I don't have to convert all of the matrices in Python?Thank you!
Best wishes,
Axel.
The text was updated successfully, but these errors were encountered: