Skip to content

KoellenspergerLab/MeXpose

Repository files navigation

Note: If you are looking for MeXpose v1 you can find it under the mexpose_v1 branch.

Welcome

MeXpose 2.0 is a major update to our interactive workflow for comprehensive analysis of multiplexed imaging data, optimised for spatial metallomics. The new release streamlines the existing pipeline by replacing third-party software with custom Jupyter notebooks for image reconstruction, preprocessing, and data extraction. Additional new features such as limit-of-detection calculation, cytometry-style gating, and integrated spatial statistics enhance both exploratory and quantitative analyses within a single, intuitive environment.

MeXpose 2.0 covers the following aspects of multiplexed image analysis by providing custom notebooks for each step:

  • Image reconstruction (TOFWerk and Nu Instruments specific)
  • Single-cell data extraction
  • Single-cell analysis
    • size normalisation & outlier filtering
    • clustering, dimensionality reduction and spatial analysis
    • histograms, heatmaps and spatial single-cell overlays
  • Manual population gating
  • Quantification
  • Limit-of-detection calculations

Installation

Installation instructions, an introduction to JupyterLab, and JupyterLab configuration are available in the Starting_with_MeXpose.pdf file.

Supported Setups and File Types

MeXpose 2.0 was tested on the following setups:

icpTOF datafiles (TOFWERK):

Software Version Manufacturer
TOFPilot 2.15 TOFWERK, Thun, Switzerland
Chromium 3.2 Teledyne Photon Machines, Bozeman, USA
ActiveView2 1.5.1.30 Elemental Scientific Lasers (ESL), Bozeman, USA

The datafiles must be acquired using the Laser Ablation module in TOFpilot, ensuring that that both laser stage coordinates and TOF data are stored in a single file (HDF5).

Vitesse datafiles (Nu instruments):

Software Version Manufacturer
NuQuant 1.2.8739.1 Nu Instruments Ltd., Wrexham, UK
Chromium 3.2 Teledyne Photon Machines, Bozeman, USA
ActiveView2 1.5.1.30 Elemental Scientific Lasers (ESL), Bozeman, USA

The datafiles must be pre-processed through NuQuant to ensure that both laser stage coordinates and TOF data are stored in a single file (csv).

Supported file types

  • HDF5
  • CSV
  • TIFF, OME.TIFF, BIGTIFF, PNG, JPEG

Support for additional file formats is provided by the use of the imageio Python library.

Segmentation

MeXpose is focused around single-cell analysis. In order to extract single-cell data as well as for several visualisations a greyscale segmentation mask is required.
We recommend using (a recent version of) Cellpose as we find it performs very well and works reliably while additionally allowing annotation and training in a user-friendly GUI.

Visit the Cellpose github for installation instructions and their documentation for additional information.

You can also try Cellpose-SAM here:

Pachitariu, M., Rariden, M., & Stringer, C. (2025). Cellpose-SAM: superhuman generalization for cellular segmentation. bioRxiv.

Segmentation mask is needed for:

  • Generating the single_cell_data.csv (data_extraction.ipynb)
  • Heatmap visualization of channels/clusters (singlecell_analysis.ipynb)

The generated single cell table is further required for:

  • Single Cell Downstream analysis (singlecell_analysis.ipynb, gating.ipynb)
  • Quantification (quantification_notebook.ipynb)

Citing MeXpose

Please cite the following papers when using either the original MeXpose or MeXpose 2.0 in your work:

MeXpose 2.0

MeXpose 2.0: An Essential Tool in Spatial (Metall-)omics - Covering All Steps from Image Reconstruction to Comprehensive Analysis. Gabriel Braun, Lyndsey Hendriks, Claude Molitor, Elisabeth Foels, Martin Schaier, Gunda Koellensperger. bioRxiv, 2025, DOI: [to be updated]

@article{Braun_MeXpose2_2025,
author = {Braun, Gabriel and Hendriks, Lyndsey and Molitor, Claude and Foels, Elisabeth and Schaier, Martin and Koellensperger, Gunda},
title = {MeXpose 2.0: An Essential Tool in Spatial (Metall-)omics - Covering All Steps from Image Reconstruction to Comprehensive Analysis},
journal = {bioRxiv},
year = {2025},
doi = {[to be updated]},
URL = {[to be updated]}
}

MeXpose 1.0

MeXpose - A modular imaging pipeline for the quantitative assessment of cellular metal bioaccumulation. Gabriel Braun and Martin Schaier, Paulina Werner, Sarah Theiner, Juergen Zanghellini, Lukas Wisgrill, Nanna Fyhrquist, Gunda Koellensperger. JACS Au 2024 4 (6), 2197-2210; DOI: 10.1021/jacsau.4c00154

@article{Braun_Schaier2024,
author = {Braun, Gabriel and Schaier, Martin and Werner, Paulina and Theiner, Sarah and Zanghellini, Jürgen and Wisgrill, Lukas and Fyhrquist, Nanna and Koellensperger, Gunda},
title = {MeXpose─A Modular Imaging Pipeline for the Quantitative Assessment of Cellular Metal Bioaccumulation},
journal = {JACS Au},
volume = {4},
number = {6},
pages = {2197-2210},
year = {2024},
doi = {10.1021/jacsau.4c00154},
URL = {https://doi.org/10.1021/jacsau.4c00154},
eprint = {https://doi.org/10.1021/jacsau.4c00154}
}

Licensing

The code included with MeXpose 2.0 is distributed under an MIT license.
The code included with MeXpose 1.0, namely all python scripts, jupyter notebooks and fiji macros, is distributed under an MIT license. The MeXpose container hosted on DockerHub is distributed under a GPLv3 license.

About

A workflow designed to perform multiplexed image analysis, specialising in (but not limited to) analysis of metal distribution in LA-ICP-TOFMS data.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors