-
Notifications
You must be signed in to change notification settings - Fork 25
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
Question: How to convert the obsm
layer Arrow format to long tables
#3570
Comments
Hello @ddemaeyer ! Here are some options:
Is this helpful? |
obsm
layer Arrow format to long tables
Hey John, thx for the swift reply, my question is more about reformatting the data to x and y coordinates. I gave it a try and landed on something like:
Which results in
Is this the best way to do this? |
@ddemaeyer interesting! :) This makes sense to me -- I've not used One optimization I can think of is in
you have the |
I got a question how to convert the SparseNDArrays in the arrow format.
Converted h5ad to tiledbsoma and retrieving X_umap field as
experiment.ms["RNA"].obsm["X_tsne"].read().tables().concat()
this results in the following arrow table
This format in essence has in soma_dim_0 the row while soma_dim_1 represents the column. The value is the soma_data.
Now my question is how to convert this to a format that is
Sorry for my inexperience since this is probably just an arrow mapping operation, but I can't get my head around it.
Thx in advance
3s
The text was updated successfully, but these errors were encountered: