Skip to content
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

Better support for visualising highly multiplexed images #401

Open
2 of 5 tasks
berombau opened this issue Nov 15, 2023 · 2 comments
Open
2 of 5 tasks

Better support for visualising highly multiplexed images #401

berombau opened this issue Nov 15, 2023 · 2 comments

Comments

@berombau
Copy link
Contributor

berombau commented Nov 15, 2023

This is a tracking issue for some of the current issues when having a SpatialImage of circa >10 channels in SpatialData:

Test datasets at https://dl01.irc.ugent.be/spatial/proteomics/macsima_liver/ome_test/

Combinations of 4 different options. Ideally, SpatialData outputs ome+transform NGFF images by default and this can be read in by all viewers of OME-NGFF.

3c: subset to only 3 channels instead of 10
ome: add ome channels metadata (can no longer be read in by SpatialData)
transform: add microns transformation (but still with unit: ‘unit’) (only option that passes NGFF validator)
vtk: added .zarr suffix to image

HumanLiverH35.zarr NGFF validator
HumanLiverH35_3c.zarr NGFF validator
HumanLiverH35_ome.zarr NGFF validator
HumanLiverH35_vtk.zarr NGFF validator
HumanLiverH35_microns.zarr NGFF validator
HumanLiverH35_3c_ome.zarr NGFF validator
HumanLiverH35_3c_vtk.zarr NGFF validator
HumanLiverH35_3c_microns.zarr NGFF validator
HumanLiverH35_ome_vtk.zarr NGFF validator
HumanLiverH35_ome_microns.zarr NGFF validator
HumanLiverH35_vtk_microns.zarr NGFF validator
HumanLiverH35_3c_ome_vtk.zarr NGFF validator
HumanLiverH35_3c_ome_microns.zarr NGFF validator
HumanLiverH35_3c_vtk_microns.zarr NGFF validator
HumanLiverH35_ome_vtk_microns.zarr NGFF validator
HumanLiverH35_3c_ome_vtk_microns.zarr NGFF validator

@LucaMarconato
Copy link
Member

Thanks for opening the issue and for the detailed information!

Solution: add ome.channels in NGFF metadata (See #230, posthoc fix code here)

The code seems very useful! Could you make a PR with it?

Solution: add physical units to metadata instead of ‘unit’ when writing SpatialData

Very true, we need to do it.

Show scale bar when viewing image

@melonora made a patch to napari to enable this, and also we have code for static plots to do this. So the limiting factor is to (re)enable units in transformations. It's in the agenda for this start of the year.

@LucaMarconato
Copy link
Member

Ideally, SpatialData outputs ome+transform NGFF images by default and this can be read in by all viewers of OME-NGFF.

Could you please elaborate a bit more on this? How would you change the output? By ensuring that the validator passes on all the datasets or by applying the transformation so that it can be removed (and then be compliant to NGFF 0.4, until 0.5 is ready)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants