<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.76828.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Software Tool Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>The software for interactive evaluation of mass spectrometric imaging heterogeneity</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 1 approved with reservations]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Zhvansky</surname>
                        <given-names>Evgeny</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-6427-2553</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Zhdanova</surname>
                        <given-names>Ekaterina</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Belenikin</surname>
                        <given-names>Maxim</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Shamraeva</surname>
                        <given-names>Maria</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-2422-1495</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Silkin</surname>
                        <given-names>Sergei</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Bocharov</surname>
                        <given-names>Konstantin</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Sorokin</surname>
                        <given-names>Anatoly A.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Moscow Institute of Physics and Technology, Dolgoprudny, Russian Federation</aff>
                <aff id="a2">
                    <label>2</label>Semenov Federal Center of Chemical Physics, Moscow, Russian Federation</aff>
                <aff id="a3">
                    <label>3</label>Department of Biochemistry and Systems Biology, University of Liverpool, Liverpool, UK</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:evgeny.zhvansky@yandex.ru">evgeny.zhvansky@yandex.ru</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>25</day>
                <month>1</month>
                <year>2022</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2022</year>
            </pub-date>
            <volume>11</volume>
            <elocation-id>92</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>21</day>
                    <month>1</month>
                    <year>2022</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Zhvansky E et al.</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/11-92/pdf"/>
            <abstract>
                <p>Mass spectrometry imaging is a promising tool complement to the histology study for evaluation of presence of different tissue types in the sample. To make this method faster, more accurate and precise we have presented earlier the cosine similarity measure maps (CSMM). The method provides the spatial distribution of cosine similarity measure metrics between chosen MSI pixel and the rest of the image. In cases when samples under test are heterogeneous and not guaranteed to have clear clusters with distinct borders, it is interesting to analyze the heterogeneity, area borders and their sensitivity to reference CSMM pixel selection. Here we present the software for interactive building of CSMM for different parameters, their visual analysis and saving such CSMM in publication-ready quality without additional programming. Source code, example datasets, binaries, and other information are available at 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/EvgenyZhvansky/Interactive_CSMM">
                        <underline>
                            <underline>https://github.com/EvgenyZhvansky/Interactive_CSMM</underline>
                        </underline>
                    </ext-link>.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>mass spectrometric imaging</kwd>
                <kwd>interactive analysis</kwd>
                <kwd>clustering</kwd>
                <kwd>labeling</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1" xlink:href="http://dx.doi.org/10.13039/501100012190">
                    <funding-source>Ministry of Science and Higher Education of the Russian Federation</funding-source>
                    <award-id>075-00337-20-02</award-id>
                </award-group>
                <funding-statement>The research was supported by the Ministry of Science and Higher Education of the Russian Federation (agreement # 075-00337-20-02, project # 0714-2020-0006). </funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>Mass spectrometry imaging (MSI) is a technique of building a map of the spatial distribution of molecular features across the tissue of interest without pretreatment.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup> This technique is a promising complement to the gold standard of tissue analysis &#x2013; histology study that is a time-consuming, labor-intensive, and sometimes subjective method.</p>
            <p>Each pixel of raw MSI-map is a mass spectrum of the corresponding location in the sample. This multidimensional map is almost impossible to interpret by naked eyes and has to be converted to a simpler representation for better visualization and usability.
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref12">12</xref>
                </sup>
            </p>
            <p>In our previous work, we introduced
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup> a fast, precise, and accurate imaging tool based on the interactive building of the cosine similarity measure maps (CSMM) between the reference pixel and the rest of the image. Introduced technique well suited for visual estimation of presence, location, and level of heterogeneity of homogeneous regions in the image. It also allows extraction of the region reference mass spectra, and evaluation of the influence of the reference pixels on the distribution of similarity characteristics on the map.</p>
            <p>Here we present a user-friendly interface for building and analysis of CSMMs of MSI data.</p>
        </sec>
        <sec id="sec2" sec-type="methods">
            <title>Methods</title>
            <sec id="sec3">
                <title>Implementation</title>
                <p>Here we introduce Interactive CSMM, a MATLAB app, which provides an intuitive graphical interface for interactive evaluation of mass spectrometric imaging heterogeneity. An example of the interface is shown in 
                    <xref ref-type="fig" rid="f1">Figure 1</xref>. Interactive CSMM was created in MATLAB R2019b. We also introduce the Python script for converting standard raw imzML file format to mat-file, which is required by the Interactive CSMM. The script currently depends on the following libraries: numpy, psutil, pyimzML and scipy.</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <title>On the left panel, you can see the input fields for setting the parameters.</title>
                        <p>On the right panel on the top left CSMM is located, on the top right the result of CSMM median smoothing is displayed, on the bottom left is a map of the boundaries of homogeneous regions, and the mass spectrum of the reference pixel is shown on the bottom right.</p>
                    </caption>
                    <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/80808/10fe2eb8-42f2-46f1-97e1-1c5a90ae7fb3_figure1.gif"/>
                </fig>
            </sec>
            <sec id="sec4">
                <title>Operation</title>
                <p>The Interactive CSMM can be launched locally from any computer with MATLAB (R2019b or higher; lower versions also might work properly) installed. Installation and launching instructions are also available. All interfaces and plots of Interactive CSMM are highly interactive, allowing users to visualize data in real-time with interactive selection reference mass spectrum, as well as store the results of the analysis.</p>
            </sec>
            <sec id="sec5">
                <title>Use cases</title>
                <p>The program 1) allows the user to interactively select the reference pixel, specify the mass range and other parameters for data binning 2) calculates the CSMM of all imaging data with respect to the selected pixel 3) label homogeneous areas and save the assigned area number, coordinates of the reference pixel and the name of the CSMM image file built on this pixel to a text file 4) save publication-ready images of CSMM with specified resolution.</p>
                <p>To improve the interpretability of the image and clean up the pixelation, outliers, and measurement artifacts the program provides the smoothed version of CSMM, the visual map of the boundaries of homogeneous zones,
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup> and the mass spectrum of the reference pixel.</p>
                <p>The presence in the spectra ions distributed over the tissue equally could cause blurring of the picture. So, we provide users with options to specify ranges is m/z which are reflecting the tissue heterogeneity, and compare positions and shape of homogeneity regions obtained in different m/z ranges.</p>
                <p>Another effect that complicates the interpretation of MS images is the presence of transition zones due to gradual changes in the ion&#x2019;s intensity within such zones. In our method, due to the building of the CSMM over the mass range, the transition zones become clearly visible because they include the peaks of both boundary zones. That effect is more difficult to achieve with standard imaging approaches (Supplementary Materials of the method describing article
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup>), which consider the distribution of individual ions.</p>
                <p>The additional benefit of our method is that there is no data preprocessing is required other than binning. The parameters of binding can be changed online. No alignment is required as well, it can be replaced with a larger binning. It could be also shown that the method works well with non-normalized data and there is no need for baseline correction.</p>
                <p>CSMM allows you to define zones of least and greatest similarity. It does not automatically divide the measured map into zones. But you can find areas with similar spectra by varying the reference pixel. By changing the other parameters (to a greater extent, the mass range), it is possible to optimize the CSMM color map and improve the visualization of heterogeneity of the measured sample. The smooth changes in heterogeneity can be observed as smooth color changes on the CSMM.</p>
                <p>We tested this method on different data sources
                    <sup>
                        <xref ref-type="bibr" rid="ref14">14</xref>
                    </sup> (measured with different ion sources: MALDI-imaging, DESI-imaging; and different mass analyzers TOF MS, Orbitrap, ICR MS) (Supplementary Materials of the method describing article
                    <sup>
                        <xref ref-type="bibr" rid="ref13">13</xref>
                    </sup>). Our article presents CSMMs for colorectal adenocarcinoma data.</p>
                <p>Preprocessing steps and descriptions of operations are presented in the manual.</p>
            </sec>
        </sec>
        <sec id="sec6" sec-type="conclusion">
            <title>Conclusion</title>
            <p>We presented software that allows users to quickly evaluate the presence and structure of heterogeneous areas in the sample, and manually make a dataset of feature spectrum for the homogeneous zones. By varying the reference spectrum and the mass range used in the construction of the CSMM, it is possible to understand which mass ranges most reflect the heterogeneity and make the boundaries between the zones more contrasting. A more detailed discussion is presented in the method describing article.
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup>
            </p>
        </sec>
        <sec id="sec7">
            <title>Data availability</title>
            <p>GigaDB: Supporting materials for &#x201c;Benchmark datasets for 3D MALDI- and DESI-Imaging Mass Spectrometry&#x201d;, 
                <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5524/100131">http://dx.doi.org/10.5524/100131</ext-link>.
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup>
            </p>
            <p>This project contains the following underlying data:
                <list list-type="bullet">
                    <list-item>
                        <label>-</label>
                        <p>3DMouseKidney.ibd</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>3DMouseKidney.imzML</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>3D_Mouse_Pancreas.ibd</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>3D_Mouse_Pancreas.imzML</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>3D_OSCC.ibd</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>3D_OSCC.imzML</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>ColAd_Individual.zip</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>Colorectal_Adenocarcinoma.h5</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>Microbe_Interaction_3D_Timecourse_LP.ibd</p>
                    </list-item>
                    <list-item>
                        <label>-</label>
                        <p>Microbe_Interaction_3D_Timecourse_LP.imzML</p>
                    </list-item>
                </list>
            </p>
            <p>Data are available under the terms of the 
                <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons Zero &#x201c;No rights reserved&#x201d; data waiver</ext-link> (CC0 1.0 Public domain dedication).</p>
            <p>Data are also available at Metabolights: 
                <ext-link ext-link-type="uri" xlink:href="https://www.ebi.ac.uk/metabolights/MTBLS176/descriptors">MTBLS176</ext-link>: Benchmark datasets for 3D MALDI- and DESI-Imaging Mass Spectrometry.</p>
        </sec>
        <sec id="sec8">
            <title>Software availability</title>
            <p>Source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/EvgenyZhvansky/Interactive_CSMM/">https://github.com/EvgenyZhvansky/Interactive_CSMM/</ext-link>.</p>
            <p>Archived source code at time of publication: 
                <ext-link ext-link-type="uri" xlink:href="http://doi.org/10.5281/zenodo.5776541">http://doi.org/10.5281/zenodo.5776541</ext-link>.</p>
            <p>License: 
                <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International license</ext-link> (CC-BY 4.0).</p>
        </sec>
        <sec id="sec9">
            <title>Author contributions</title>
            <p>Conceptualization A.S., E.S.Z.; methodology A.S., E.S.Z.; software E.S.Z.; investigation M.B., E.V.Z; writing &#x2014; original draft preparation E.S.Z., E.V.Z., M.S.; writing &#x2014; review and editing E.S.Z., E.V.Z., A.S., K.B.; visualization E.S.Z.; supervision A.S.; project administration A.S.; funding acquisition A.S.; formal Analysis E.S.Z.; data curation M.B., M.S., S.S., K.B.; validation E.V.Z., M.B.; resources M.B., E.V.Z. All authors have read and agreed to the current version of the manuscript.</p>
        </sec>
    </body>
    <back>
        <ack>
            <title>Acknowledgments</title>
            <p>The research used the equipment of Shared Research Facilities of N.N. Semenov Federal Research Center for Chemical Physics of the Russian Academy of Sciences.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>McDonnell</surname>
                            <given-names>LA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>R&#x00f6;mpp</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Balluff</surname>
                            <given-names>B</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Discussion point: reporting guidelines for mass spectrometry imaging.</article-title>
                    <source>

                        <italic toggle="yes">Anal. Bioanal. Chem.</italic>
</source>
                    <year>2015 Mar</year>;<volume>407</volume>(<issue>8</issue>):<fpage>2035</fpage>&#x2013;<lpage>2045</lpage>.
                    <pub-id pub-id-type="pmid">25432304</pub-id>
                    <pub-id pub-id-type="doi">10.1007/s00216-014-8322-6</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Horatz</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Giamp&#x00e0;</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Karpov</surname>
                            <given-names>Y</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Conjugated Polymers as a New Class of Dual-Mode Matrices for MALDI Mass Spectrometry and Imaging.</article-title>
                    <source>

                        <italic toggle="yes">J. Am. Chem. Soc.</italic>
</source>
                    <year>2018 Sep 12</year>;<volume>140</volume>(<issue>36</issue>):<fpage>11416</fpage>&#x2013;<lpage>11423</lpage>.
                    <pub-id pub-id-type="pmid">30089208</pub-id>
                    <pub-id pub-id-type="doi">10.1021/jacs.8b06637</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Buchberger</surname>
                            <given-names>AR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>DeLaney</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Johnson</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Mass spectrometry imaging: A review of emerging advancements and future insights.</article-title>
                    <source>

                        <italic toggle="yes">Anal. Chem.</italic>
</source>
                    <year>2018 Jan 2</year>;<volume>90</volume>(<issue>1</issue>):<fpage>240</fpage>&#x2013;<lpage>265</lpage>.
                    <pub-id pub-id-type="pmid">29155564</pub-id>
                    <pub-id pub-id-type="doi">10.1021/acs.analchem.7b04733</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hanrieder</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gerber</surname>
                            <given-names>L</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Persson Sandelius</surname>
                            <given-names>&#x00c5;</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>High resolution metabolite imaging in the hippocampus following neonatal exposure to the environmental toxin BMAA using ToF-SIMS.</article-title>
                    <source>

                        <italic toggle="yes">ACS Chem. Neurosci.</italic>
</source>
                    <year>2014 Jul 16</year>;<volume>5</volume>(<issue>7</issue>):<fpage>568</fpage>&#x2013;<lpage>575</lpage>.
                    <pub-id pub-id-type="pmid">24779349</pub-id>
                    <pub-id pub-id-type="doi">10.1021/cn500039b</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>W&#x00fc;llems</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>K&#x00f6;lling</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bednarz</surname>
                            <given-names>H</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Detection and visualization of communities in mass spectrometry imaging data.</article-title>
                    <source>

                        <italic toggle="yes">BMC Bioinform.</italic>
</source>
                    <year>2019 Jun 4</year>;<volume>20</volume>(<issue>1</issue>):<fpage>303</fpage>.
                    <pub-id pub-id-type="pmid">31164082</pub-id>
                    <pub-id pub-id-type="doi">10.1186/s12859-019-2890-6</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kaddi</surname>
                            <given-names>CD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Parry</surname>
                            <given-names>RM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Wang</surname>
                            <given-names>MD</given-names>
                        </name>
</person-group>:
                    <article-title>Multivariate hypergeometric similarity measure.</article-title>
                    <source>

                        <italic toggle="yes">IEEE/ACM Trans. Comput. Biol. Bioinform.</italic>
</source>
                    <year>2013 Dec</year>;<volume>10</volume>(<issue>6</issue>):<fpage>1505</fpage>&#x2013;<lpage>1516</lpage>.
                    <pub-id pub-id-type="pmid">24407308</pub-id>
                    <pub-id pub-id-type="doi">10.1109/TCBB.2013.28</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Alexandrov</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kobarg</surname>
                            <given-names>JH</given-names>
                        </name>
</person-group>:
                    <article-title>Efficient spatial segmentation of large imaging mass spectrometry datasets with spatially aware clustering.</article-title>
                    <source>

                        <italic toggle="yes">Bioinformatics.</italic>
</source>
                    <year>2011 Jul 1</year>;<volume>27</volume>(<issue>13</issue>):<fpage>i230</fpage>&#x2013;<lpage>i238</lpage>.
                    <pub-id pub-id-type="pmid">21685075</pub-id>
                    <pub-id pub-id-type="doi">10.1093/bioinformatics/btr246</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>W&#x00fc;llems</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zurowietz</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zurowietz</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Fast visual exploration of mass spectrometry images with interactive dynamic spectral similarity pseudocoloring.</article-title>
                    <source>

                        <italic toggle="yes">Sci. Rep.</italic>
</source>
                    <year>2021 Feb 25</year>;<volume>11</volume>(<issue>1</issue>):<fpage>4606</fpage>.
                    <pub-id pub-id-type="pmid">33633175</pub-id>
                    <pub-id pub-id-type="doi">10.1038/s41598-021-84049-4</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Race</surname>
                            <given-names>AM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Palmer</surname>
                            <given-names>AD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Dexter</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Spectralanalysis: software for the masses.</article-title>
                    <source>

                        <italic toggle="yes">Anal. Chem.</italic>
</source>
                    <year>2016 Oct 4</year>;<volume>88</volume>(<issue>19</issue>):<fpage>9451</fpage>&#x2013;<lpage>9458</lpage>.
                    <pub-id pub-id-type="pmid">27558772</pub-id>
                    <pub-id pub-id-type="doi">10.1021/acs.analchem.6b01643</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bokhart</surname>
                            <given-names>MT</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Nazari</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Garrard</surname>
                            <given-names>KP</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>MSiReader v1.0: Evolving Open-Source Mass Spectrometry Imaging Software for Targeted and Untargeted Analyses.</article-title>
                    <source>

                        <italic toggle="yes">J. Am. Soc. Mass Spectrom.</italic>
</source>
                    <year>2018 Jan</year>;<volume>29</volume>(<issue>1</issue>):<fpage>8</fpage>&#x2013;<lpage>16</lpage>.
                    <pub-id pub-id-type="pmid">28932998</pub-id>
                    <pub-id pub-id-type="doi">10.1007/s13361-017-1809-6</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Klinkert</surname>
                            <given-names>I</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Chughtai</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ellis</surname>
                            <given-names>SR</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Methods for full resolution data exploration and visualization for large 2D and 3D mass spectrometry imaging datasets.</article-title>
                    <source>

                        <italic toggle="yes">Int. J. Mass Spectrom.</italic>
</source>
                    <year>2014 Apr</year>;<volume>362</volume>:<fpage>40</fpage>&#x2013;<lpage>47</lpage>.
                    <pub-id pub-id-type="doi">10.1016/j.ijms.2013.12.012</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>R&#x00e0;fols</surname>
                            <given-names>P</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Torres</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ram&#x00ed;rez</surname>
                            <given-names>N</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>rMSI: an R package for MS imaging data handling and visualization.</article-title>
                    <source>

                        <italic toggle="yes">Bioinformatics.</italic>
</source>
                    <year>2017 Aug 1</year>;<volume>33</volume>(<issue>15</issue>):<fpage>2427</fpage>&#x2013;<lpage>2428</lpage>.
                    <pub-id pub-id-type="pmid">28369250</pub-id>
                    <pub-id pub-id-type="doi">10.1093/bioinformatics/btx182</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Zhvansky</surname>
                            <given-names>ES</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ivanov</surname>
                            <given-names>DG</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sorokin</surname>
                            <given-names>AA</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Interactive Estimation of Heterogeneity from Mass Spectrometry Imaging.</article-title>
                    <source>

                        <italic toggle="yes">Anal. Chem.</italic>
</source>
                    <year>2021 Mar 2</year>;<volume>93</volume>(<issue>8</issue>):<fpage>3706</fpage>&#x2013;<lpage>3709</lpage>.
                    <pub-id pub-id-type="pmid">33591173</pub-id>
                    <pub-id pub-id-type="doi">10.1021/acs.analchem.1c00437</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Oetjen</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Veselkov</surname>
                            <given-names>K</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Watrous</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Supporting materials for &#x201c;Benchmark datasets for 3D MALDI- and DESI-Imaging Mass Spectrometry.&#x201d;.</article-title>
                    <source>

                        <italic toggle="yes">GigaScience Database.</italic>
</source>
                    <year>2015</year>;<volume>4</volume>:<fpage>20</fpage>.
                    <pub-id pub-id-type="pmid">25941567</pub-id>
                    <pub-id pub-id-type="doi">10.1186/s13742-015-0059-4</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report160344">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.80808.r160344</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Audinot</surname>
                        <given-names>Jean-Nicolas</given-names>
                    </name>
                    <xref ref-type="aff" rid="r160344a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-4966-7653</uri>
                </contrib>
                <aff id="r160344a1">
                    <label>1</label>Material Research and Technology Department, Luxembourg Institute of Science and Technology, Rue du Brill, Belvaux, Luxembourg</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>10</day>
                <month>2</month>
                <year>2023</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2023 Audinot JN</copyright-statement>
                <copyright-year>2023</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport160344" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.76828.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>This publication is about the description of a software that allows users to evaluate the presence and structure of heterogeneous areas in the (biological) sample. By varying the reference spectrum and the mass range used, the software allow the construction of the the cosine similarity measure maps (CSMM). The objective of this work (data treatment) is to understand which mass ranges most reflect the heterogeneity. This work was already presented in a previous publication
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-160344-1">1</xref>
                </sup>.</p>
            <p> </p>
            <p> Point 1: The originality with the previous publication
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-160344-1">1</xref>
                </sup> is not obvious. I found more information in the previous publication, like the definition of the CSMM. Maybe wrongly, due to lack of time, as I couldn't test all the (new) option, I didn't see any difference with the previous version</p>
            <p> </p>
            <p> &#x00a0;Point 2: The expected data is not very clear. the manual provided with the program is really poor. It should at least be enriched with many examples, and especially with processed data. It's a pity, we'll have to wait for publications with this software to really know its potential</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Partly</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Yes</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Mass Spectrometry Imaging</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-160344-1">
                    <label>1</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Interactive Estimation of Heterogeneity from Mass Spectrometry Imaging.</article-title>
                        <source>
                            <italic>Anal Chem</italic>
                        </source>.<year>2021</year>;<volume>93</volume>(<issue>8</issue>) :
                        <elocation-id>10.1021/acs.analchem.1c00437</elocation-id>
                        <fpage>3706</fpage>-<lpage>3709</lpage>
                        <pub-id pub-id-type="pmid">33591173</pub-id>
                        <pub-id pub-id-type="doi">10.1021/acs.analchem.1c00437</pub-id>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
    </sub-article>
</article>
