gustaveroussy / sopa

Technology-invariant pipeline for spatial omics analysis (Xenium / Visium HD / MERSCOPE / CosMx / PhenoCycler / MACSima / ...) that scales to millions of cells
https://gustaveroussy.github.io/sopa/
BSD 3-Clause "New" or "Revised" License
129 stars 15 forks source link

[Feature] Allow setting of run_name in sopa explorer write #139

Open pakiessling opened 1 week ago

pakiessling commented 1 week ago

run_name in the .xenium controls how samples appear in the xenium explorer Right now image_key is used here which leads to all Xenium samples appearing as morphology_focus in the Xenium explorer.

grafik

I think it would be nice to let the user specify a sample name, which would make it less confusing to work with multiple samples.

Let me know what you think, I could also try and do a PR :)

quentinblampey commented 1 week ago

Hi @pakiessling, this is indeed interesting for Xenium data. Since it's a very minor change, I'll do it myself quickly now, and it will be available for sopa==2.0.0!

pakiessling commented 1 week ago

Cool thanks a lot!