The MSI-Explorer napari plugin is a powerful tool designed for targeted biochemical annotations in MSI data. This user manual provides a comprehensive guide on how to install, use, and explore the functionalities of the plugin within the napari platform. It covers data import, visualization, mean intensity calculation, region of interest (ROI) analysis, annotation with selected databases and pre-processing such as noise reduction and normalization.
[MSI-Explorer]
Install napari by using this command.
pip install "napari[all]"
You can install MSI-Explorer
via pip:
pip install MSI-Explorer
Start napari from the console with:
napari
Navigate to Plugins -> MSI-Explorer (MSI-Explorer)
Load imzML
.View Metadata
.
Upon uploading profile mode data, a pop-up appears prompting you to convert it to centroid mode.
Selecting Yes
converts the data, while No
keeps it in its original profile format.
Show true mean spectrum
.Show image
will create an image view of the currently plotted dataExport spectrum data
.Export spectrum plot
.To focus on a specific m/z value, zoom in on the spectrum plot. The figure will be as shown as below.
It is recommended to use Multi
panel view.
The image can be displayed by Show image
and the data can be exported as .csv
file by using Export spectrum data
.
The pre-processing capabilities of MSI-Explorer enhance data quality and prepare MSI data for downstream analysis. Pre-processing steps involve:
Users can choose their desired level of noise reduction (shown as a percentage) for their experiment.
The normalization methods that the user can apply are
Hotspot removal can also be applied using a default threshold of 99.99%.
After pre-processing steps are chosen, click Execute
and Show true mean spectrum
to calculate the mean intensity.
The figure shows the spectrum and image of the TIC normalization with 3% noise reduction and hotspot removal for the 99.9% quantile.
To use the database search, click on Select
and a pop-up window will appear. There,
select Metabolite_database_ver2
, which is a built-in database, and click Confirm
.
The features of the database function are
Users can customize the database with exact mass, molecule name, or molecular formula. The format should be as shown in the table and the headers are not needed in the database.
Exact mass | Molecule name | Molecula formula |
---|---|---|
176.0950 | Cotinine | C10H12N2O |
174.1117 | Arginine | C6H14N4O2 |
244.0881 | Biotin | C10H16N2O3S |
Select ROI for mean spectrum
. Adjust the brush size and label color. You can fill the area by using paint icon. Calculate ROI mean spectrum
..csv
file by using Export spectrum data
.Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
Distributed under the terms of the BSD-3 license, "MSI-Explorer" is free and open source software
If you encounter any problems, please file an issue along with a detailed description.