-
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
Xenium: use physical units instead of pixel units as references #198
Comments
Thanks for reporting. I will transfer the issue to You can fix this by introducing a new coordinate system, for instance you could call it
But before that if we re-enable the storage of spatial units (like µm) in When all the above is addressed, dealing with physical coordinates will be much cleaner. But since there are ways around this, like manually introducing the Hope this help 😊 |
Back to the context of plotting. If you introduce the |
Great! Yes, it will work also for the points. |
In spatialdata documentation, it seems that the z-axis of transcripts was neglected. How to show z-axis ? |
Yes, the points are shown independently of the z-axis. Options to consider it is to color the points by the z value, or manually pre-filter the data based on a cutoff on the z value. 3D visualization is currently not supported. |
Hi,
I find the coordinate differs a lot between 10xXenium analyzer and spatialdata. This is figures from 10xXenium analyzer:
And this is from spatialdata (the same dataset as above, generated by
sdata.pl.render_images("morphology_focus").pl.render_shapes("cell_circles").pl.show()
:It seems that spatialdata transform the physical coordinate for some reason, which can be seen from the following snapshot:
We believe that the physical coordinate (μm, micron) is more biological relevant, because we can see the physical size of the sample and the physical location of genes/cells in the sample. It's especially useful when comparing samples among different datasets because the physical coordinate represents the true size of the sample. So why does spatialdata make the transformation and how to show physical coordinates ?
The text was updated successfully, but these errors were encountered: