-
Notifications
You must be signed in to change notification settings - Fork 37
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
.create() not recognizing sparse matrices #145
Comments
Hi I'm not sure if sparse matrices are supported as arguments to create(), but if you're anyway loading the dense matrix (using |
Hi Sten, Thanks for the quick reply! I was hoping to convert the entire matrix to a sparse matrix to substantially reduce the file size, both in storage and when it's loaded into memory (without having to convert it each time). Though I guess this isn't possible with loom format at the moment? Though ultimately, I'm converting the loom files to ExprDataSet objects so that they can be used in the Cell_BLAST pipeline (for deep autoencoder batch correction). Also of interest to @NathanSkene |
FYI, internally it would be stored as chunked and compressed anyway, which may or may not take more space than a sparse format. |
I see, got it, thanks! |
So I happened to be converting the loom files I'm using to several different formats (to take advantage of different tools) and noticed that they differ quite a bit in terms of size. I'm sure there's plenty of other differences besides sparsity, as well as advantage/disadvantages to each, but I thought this was interesting and worth posting here! Data formats
Notes
File sizes
Sources
|
Hello,
I'm trying to create a new loom file after making edits to an existing one (the adult mouse brain dataset from Mousebrain.org,
L5_All.loom
).However when I got to use
.create()
for the new loom file, it doesn't seem to recognize the input matrix, no matter what format I put the matrix in.Input
Some other formats I've tried (and confirmed that the matrix is indeed of the intended type).
Error message
Same message appears for all matrix formats listed above.
Conda env
Click to expand
Thanks,
Brian Schilder
@ Imperial College London
The text was updated successfully, but these errors were encountered: