- Open Access
LA-iMageS: a software for elemental distribution bioimaging using LA–ICP–MS data
© The Author(s) 2016
- Received: 4 July 2016
- Accepted: 10 November 2016
- Published: 18 November 2016
The spatial distribution of chemical elements in different types of samples is an important field in several research areas such as biology, paleontology or biomedicine, among others. Elemental distribution imaging by laser ablation inductively coupled plasma mass spectrometry (LA–ICP–MS) is an effective technique for qualitative and quantitative imaging due to its high spatial resolution and sensitivity. By applying this technique, vast amounts of raw data are generated to obtain high-quality images, essentially making the use of specific LA–ICP–MS imaging software that can process such data absolutely mandatory. Since existing solutions are usually commercial or hard-to-use for average users, this work introduces LA-iMageS, an open-source, free-to-use multiplatform application for fast and automatic generation of high-quality elemental distribution bioimages from LA–ICP–MS data in the PerkinElmer Elan XL format, whose results can be directly exported to external applications for further analysis. A key strength of LA-iMageS is its substantial added value for users, with particular regard to the customization of the elemental distribution bioimages, which allows, among other features, the ability to change color maps, increase image resolution or toggle between 2D and 3D visualizations.
- Elemental distribution
- Laser ablation
- LA–ICP–MS imaging
Advances in technology, including software, new generations of instruments, and the fastest electronic devices, allow the application of image-forming techniques that capture the complexity of a sample in a single image by considering a dynamic or static system. Such techniques include electron/ion microscopy, satellite imaging, tomography, NMR and, more recently, mass spectrometry based on molecular or elemental-based techniques [1–4]. Also, mass spectrometry imaging (MSI) increased its application in several science areas, since improvements in instrumentation, sample preparation and image software has been carried out . In studies of biological systems, different classes of biomolecules were assessed with spatial resolution at the microscale. The main strategies of MSI involve matrix-assisted laser desorption/ionization mass spectrometry (MALDI–MS) as well as secondary ion mass spectrometry (SIMS).
In this context, laser ablation inductively coupled plasma mass spectrometry (LA–ICP–MS) has been widely used to qualitative or quantitative imaging [6–10]. In brief, LA–ICP–MS consists of a hyphenated technique where a laser unit is coupled to ICP–MS equipment. The laser unit is composed of an active medium (the most popular are Nd:YAlG lasers operated at 266 or 213 nm, or the ArF laser at 193 nm) which will produce a pulse with enough energy to ablate the sample, as well as other components, such as a resonator cavity and optical camera, among others [11, 12]. The ablated material is then transported to the ICP–MS through a gas (currently Ar, in addition to others), allowing an analysis of the sample. The source of ICP–MS produces ions, which are separated by their mass-to-charge ratio in the mass spectrometer. Ion intensities of each element are recorded against time during the laser scanning. These data are subsequently converted to pixels and an image is then built-up, enabling a spatial visualization of all phenomena occurring in the sample.
Coupling a laser unit with ICP equipment is now such a common task that various companies are commercializing this hyphenated technique. In fact, our research group has recently demonstrated in a tutorial review how to obtain bioimaging from elemental distribution by using MatLab software . Nevertheless, such a strategy does not match the speed of data acquisition, since several hours are needed for the initial data acquisition process, while several days are required for their subsequent processing and image building. Although different solutions such as IMAGENA , Origin , PMOD , Maya vi2 , SMAK , or Microsoft Excel 2007 Macros , have been successfully used for generating images from LA–ICP–MS data, they still suffer from major drawbacks: (1) most of them are not freely available (e.g., IMAGENA, Origin, PMOD), (2) most of them are general-purpose programs requiring users to adapt data and learn specific skills (e.g., programming languages and coding knowledge), or (3) they are not specifically designed to run automated analysis workflows and require a lot of user intervention. In this scenario, there is a clear gap to develop a freely-available software that can automatically produce accurate images and make the LA–ICP–MS application more popular and friendly in its imaging mode.
This is precisely the direction of this study, which proposes the LA-iMageS software to easily process all the data generated by LA–ICP–MS in the PerkinElmer Elan XL format, ensuring a fast processing workflow (data processing is done in few seconds after inserting the data) as well as the generation of elemental distribution images (with a quality comparable to those obtained through MatLab). To demonstrate the usefulness of our LA-iMageS application, a diversity of systems/samples were used as examples, such as Arabidopsis thaliana seeds and histological slides from human tissues, working in two or three dimensions. In addition to the multitude of applications, the LA-iMageS proposal produces a link with different fields of scientific research (e.g., metallomics, medicine, biology, environmental and geology, among others), enabling a suitable space for transdisciplinary collaborations.
LA-iMageS uses datasets in PerkinElmer Elan XL format (*.xl) as input, which is commonly generated by ICP–MS instrument control software from PerkinElmer, such as Elan 6 × 00 or Elan DRC-e. Each input dataset should be placed in a folder containing the XL files corresponding to each data line taken by the ICP–MS instrument. Each line file must contain a number that indicates the order in which it has been acquired by the ICP–MS instrument. For instance, in a dataset with ten lines, a valid set of names can be: line 1.xl, line 2.xl, line 3.xl, line 4.xl, line 5.xl, line 6.xl, line 7.xl, line 8.xl, line 9.xl, and line 10.xl. Additionally, the dataset folder may include two optional files: parameters.conf, containing the ICP–MS data acquisition parameters, and positions.txt, containing the physical position of each line.
Data acquisition parameters
The optional parameters.conf file is used by the LA-iMageS software to automatically load acquisition parameters. If this file is not present in the dataset’s directory, the user must manually introduce them. However, experience demonstrates that it is a good practice to save the acquisition parameters along with data line files.
Standard the standard element in the dataset. Internal standard is an element used to normalize the results and to overcome instrumental oscillation. The other elements will be normalized using this element as standard. Users must choose a specific element to be monitored, for example, a known matrix element in the sample or those intentionally added by the user. The chosen element should minimize the variability of the ablation process, which can be caused by local differences in tissue thickness and/or different interaction between the laser and the sample surface, allowing the observed signal to correspond to an elemental concentration in a specific location.
Ablation speed speed set by the user in the laser operational mode as continuous firing. This parameter relates to the spot size, which is determined by the laser beam diameter, and by the frequency, which corresponds to the repetition rate of the laser. Usually, the value of ablation speed used is lower than spot size.
Acquisition time refers to the time needed for the acquisition of one point considering all the elements monitored by the ICP–MS. This parameter is intrinsically correlated to ICP–MS parameters, such as the number of isotopes monitored, sweeps, number of replicates and dwell (or residence) time. The acquisition time should not be higher than 1.0 s, since the elemental distribution information would be lost.
Space interval represents the distance among the center of two lines. The lowest space interval results in the highest image resolution.
Data lines positions
The positions.txt file can be used to specify the physical position of each line in the instrument during the ablation process. This information is important for the elemental data extraction process explained below, since data acquisition can be made with laser position in the horizontal or vertical profile.
This file is optional and is used by the LA-iMageS software to read the position of each line and determine whether they are horizontal or vertical: if each line has the same X position while the initial and final Y-positions are different, it means that it is vertical; otherwise, if each line has the same Y-position while the initial and final X-positions are different, it means that it is horizontal. If this file is not present in the dataset’s directory, then LA-iMageS will consider the lines to be horizontal and will automatically generate their positions based on the acquisition parameters.
Since this file can be easily generated by ICP–MS instrument control software, we strongly encourage keeping a positions file along with the data lines files.
Elemental data extraction
Elemental data is extracted from the input dataset in XL format, using the two optional configuration files if necessary. LA-iMageS parses input data in order to obtain one two-dimensional matrix per element in the dataset, which stores the analyte distribution in the sample. Acquisition parameters are used along each positions file for axis definition.
After the elemental data extraction process, each element is normalized by the specified standard element, dividing its intensity matrix by that of the standard.
The most important section is the Analysis viewer panel, which consists of a 2D/3D representation of the current element distribution with a menu bar and a right sidebar providing access to several configuration options. It is important to stress out that 3D visualization reflects the signal intensity of each analyte only, and not the real topology of the sample.
The right sidebar allows users to select the element distribution that is being currently displayed, enable or disable the 3D view, and control the camera position.
The menu bar contains three submenus: (1) File, which allows saving the current analysis; (2) Graphical Settings, which enables the customization of the elemental distribution image; and (3) Export, which provides exporting facilities.
Tuning up the elemental distribution image
After exploring data in the LA-iMageS, it is expected that users can employ their results in other complementary applications such as a word processor or another analysis package. To fulfill these needs, both elemental distributions (i.e., the data matrices) and images can be easily saved throughout the Export submenu of the Analysis viewer panel. While elemental distributions are exported using comma-separated values (CSV) files, 2D/3D bioimages are exported into portable network graphics (PNG) files.
When exporting data, users can choose to save only the element shown in the Analysis viewer panel, or all the elements of the dataset in a row with the same export configuration.
The LA-iMageS software is implemented in Java using the AIBench framework . It is provided as a self-contained, multiplatform Java standalone application. LA-iMageS is an open source project hosted on Github. The code architecture is interface driven, so developers can easily integrate new data formats and/or functions. The jzy3D and the Apache Commons Math Java libraries are also integrated within the project to render 2D/3D images and to perform mathematical operations (e.g., bilinear interpolation).
With the goal of demonstrating the usefulness and features of LA-iMageS, this section presents a case study showing the 31P+ and 63Cu+ distribution in Arabidopsis thaliana seed. For a better comprehension of the use of the software, all steps regarding image edition are properly addressed in Additional file 4, and the dataset used in the case study can be found in Additional file 2.
Case study dataset
A correct image analysis depends on a good balance between laser speed and ICP–MS acquisition. As we have discussed in our previous work , the quality of the images can be improved with optimization of several LA and ICP–MS parameters. Data are usually obtained by scanning the sample surface as parallel lines in order to show the elemental distribution in the sample, and each line ablated is then recorded in different files. Several file formats can be used by the manufacturer to acquire data. As previously explained, LA-iMageS accepts ICP–MS data in the PerkinElmer Elan XL format, where data are organized as rows and columns. Each row represents one intensity value at a time interval determined by parameters that influence the acquisition time (e.g., residence time, number of replicates, sweeps or readings, among others) of the ICP–MS, considering all m/z measured. The first column indicates the time, while subsequent columns show the results for each ion monitored. Using LA-iMageS, the user needs to indicate the local path where data were saved, and the acquisition parameters to automatically obtain the corresponding image.
Instrumental operational conditions and measurement by LA–ICP–MS
RF power (W)
Nebulizer gas flow (L min−1)
Auxiliary gas flow (L min−1)
Data acquisition parameters
Dwell time (ms)
Integration time (ms)
270 (for each point)
Detector dead time (ns)
Lens voltage (V)
12C, 63Cu and 31P
Wavelength of Nd:YAG laser (nm)
Laser ablation intensity (%)
Spot size (µm)
Scan speed (µm s−1)
Resolution—X axis (µm)
Resolution—Y axis (µm)
Thus, the XL files obtained from the ICP–MS acquisition were copied from an instrument computer controller (Additional file 2). Each line generated through the ablation process resulted in one different file, and 23 lines were needed for mapping the entire sample surface, generating 23 XL files (considering the distance among the lines, as previously indicated).
Elemental distribution of the Arabidopsis thaliana seed
In order to facilitate comprehension of the case study, a summary is presented in Additional file 4 (slide 1), showing all steps involved in the image building process. First, a view of the initial software panel is presented (slide 2), where the “Analyze Data” option is used to start the image building. This option shows a dialog box (slide 3), allowing users to select the folder containing the input XL files (slides 4 and 5) and introduce the ablation parameters (standard, ablation speed, acquisition time, and space interval). It is important to remember that these parameters could be stored in the parameter.conf file along with input XL files, to avoid the need for users to manually introduce them. A first view of the image is readily generated using default parameters, with additional edition steps required to obtain a good representation (slide 6).
To obtain an optimal image, the element intensity must be adjusted (slides 7–9) in accordance to the ratio between the analyte 31P+ and standard 12C+. This is achieved by customizing both the color map range and the color map palette. The color map range (slide 7) can be edited by clicking the sequence “Graphic settings” → “Range mode” → “Custom”, which enables a dialog (slide 8) to set the minimum and maximum color data levels (in this case study, 0.007 and 0.025, respectively). As illustrated in Fig. 5, each element can have a particular range of intensities, and the user must seek the best relation for obtaining the desired output.
Another way to improve the image is smoothing or interpolation, which results in better image resolution. By default, no interpolation is applied to the images but LA-iMageS allows users to apply three different levels: low, medium, and high. To improve the resolution of the image in this case study, the highest level is selected by clicking the sequence “Graphic settings” → “Interpolation level” → ”High” (slides 10 and 11).
Alternatively, elemental distributions can be also saved as CSV files (slides 16–20) so that they can be further used as input in general-purpose scientific applications such as Matlab or Excel. Users can export the intensity ratio values between analyte and standard into a CSV file by using the “Export” → ”As CSV” menu options (slide 16), which opens a dialog to select a predefined CSV format (Excel compatible CSV, used in this case study, or Libre/Open Office compatible CSV) or by defining a custom format (slide 17). By clicking the “OK” button, the data is saved in the selected directory (slides 18 and 19). Finally, this CSV file is opened with Excel (slide 20).
A particularly useful feature of the LA-iMageS software is the possibility of saving the image configuration, so that it can be edited later or even reused in future experiments (slide 21–30). This can be done by using the “File” → “Save analysis” menu options, which opens a new dialog to select the folder and file with .lai extension (slides 22 and 23). This way, if LA-iMageS software is closed, the image edition can be retaken later at the same status. To recover the image (slides 25–30), users must use the “Load analysis” option of the toolbar (slide 25) and select the previously saved file (Seed.lai in our case study).
Finally, LA-iMageS provides additional features allowing a high degree of image customization. These features, illustrated in Additional file 4 (slides 32–55), include: (1) image rotation (slides 32–34), (2) three-dimensional elemental distribution visualization (slides 35–37), (3) axis hiding (slides 38–39), (4) restart image settings to the original conditions (slides 40–41), (5) element selection (slides 42–47), (6) color bar hiding (slides 48 to 51), and (7) axis tick lines hiding (slides 52–55).
This work has presented LA-iMageS as a new open-source software for rapid processing and visualization of LA–ICP–MS data. Our application fully automates the process of generating elemental distribution images from LA–ICP–MS data. LA-iMageS is completely free and provides a friendly graphical user interface designed to avoid the need for a bioinformatics expert to use it.
Finally, LA-iMageS is open to further extension, such as supporting new data formats, including new operations, or improving those currently available.
For proper use, guidance and maintenance, please contact email@example.com.
HLF, MRJ, DGP and FFR designed and implemented the LA-iMageS software. GSP, MAZA and JLCM provided the original idea for LA-iMageS as well as valuable guidance, testing and feedback throughout all the implementation. All authors read and approved the final manuscript.
The authors thank the Fundação de Amparo a Pesquisa do Estado de São Paulo (FAPESP, São Paulo, Brazil), the Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq, Brasília, Brazil), the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES, Brasília, Brazil), and the INOU-16-05 project from the Provincial Council of Ourense for financial support and fellowships. Dr. Capelo acknowledges support given by the Associate Laboratory for Green Chemistry LAQV which is financed by national funds from FCT/MEC (UID/QUI/50006/2013) and co-financed by the ERDF under the PT2020 Partnership Agreement (POCI-01-0145-FEDER - 007265), and by the Unidade de Ciências Biomoleculares Aplicadas-UCIBIO which is financed by national funds from FCT/MEC (UID/Multi/04378/2013) and co-financed by the ERDF under the PT2020 Partnership Agreement (POCI-01-0145-FEDER-007728). H. López-Fernández is supported by a post-doctoral fellowship from Xunta de Galicia. SING group thanks CITI (Centro de Investigación, Transferencia e Innovación) from University of Vigo for hosting its IT infrastructure.
The authors declare that they have no competing interests.
Open AccessThis article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
- Wood ST, Dean BC, Dean D (2013) A linear programming approach to reconstructing subcellular structures from confocal images for automated generation of representative 3D cellular models. Med Image Anal 17:337–347. doi:10.1016/j.media.2012.12.002 View ArticleGoogle Scholar
- Kokhanovsky AA, Davis AB, Cairns B et al (2015) Space-based remote sensing of atmospheric aerosols: the multi-angle spectro-polarimetric frontier. Earth Sci Rev 145:85–116. doi:10.1016/j.earscirev.2015.01.012 View ArticleGoogle Scholar
- Wehrl HF, Schwab J, Hasenbach K et al (2013) Multimodal elucidation of choline metabolism in a murine glioma model using magnetic resonance spectroscopy and 11C-choline positron emission tomography. Cancer Res 73:1470–1480. doi:10.1158/0008-5472.CAN-12-2532 View ArticleGoogle Scholar
- LeBeau AM, Sevillano N, Markham K et al (2015) Imaging active urokinase plasminogen activator in prostate cancer. Cancer Res 75:1225–1235. doi:10.1158/0008-5472.CAN-14-2185 View ArticleGoogle Scholar
- McDonnell LA, Heeren RMA (2007) Imaging mass spectrometry. Mass Spectrom Rev 26:606–643. doi:10.1002/mas.20124 View ArticleGoogle Scholar
- Muñoz JJ, Drigo SA, Barros-Filho MC et al (2015) Down-regulation of SLC8A1 as a putative apoptosis evasion mechanism by modulation of calcium levels in penile carcinoma. J Urol 194:245–251. doi:10.1016/j.juro.2014.11.097 View ArticleGoogle Scholar
- Becker JS, Zoriy MV, Pickhardt C et al (2005) Imaging of copper, zinc, and other elements in thin section of human brain samples (hippocampus) by laser ablation inductively coupled plasma mass spectrometry. Anal Chem 77:3208–3216. doi:10.1021/ac040184q View ArticleGoogle Scholar
- Maciel BCM, Barbosa HS, Pessôa GS et al (2014) Comparative proteomics and metallomics studies in Arabidopsis thaliana leaf tissues: evaluation of the selenium addition in transgenic and nontransgenic plants using two-dimensional difference gel electrophoresis and laser ablation imaging: proteomics 2014. Proteomics 14:904–912. doi:10.1002/pmic.201300427 View ArticleGoogle Scholar
- da Silva MAO, Arruda MAZ (2013) Laser ablation (imaging) for mapping and determining Se and S in sunflower leaves. Metallomics 5:62–67. doi:10.1039/C2MT20154B View ArticleGoogle Scholar
- Oliveira SR, Arruda MAZ (2015) Application of laser ablation (imaging) inductively coupled plasma mass spectrometry for mapping and quantifying Fe in transgenic and non-transgenic soybean leaves. J Anal Spectrom 30:389–395. doi:10.1039/C4JA00276H View ArticleGoogle Scholar
- Becker JS (2007) Inorganic mass spectrometry. Wiley, ChichesterView ArticleGoogle Scholar
- Pozebon D, Scheffler GL, Dressler VL, Nunes MAG (2014) Review of the applications of laser ablation inductively coupled plasma mass spectrometry (LA–ICP–MS) to the analysis of biological samples. J Anal Spectrom 29:2204–2228. doi:10.1039/C4JA00250D View ArticleGoogle Scholar
- de Pessôa S, Capelo-Martínez JL, Fdez-Riverola F et al (2016) Laser ablation and inductively coupled plasma mass spectrometry focusing on bioimaging from elemental distribution using MatLab software: a practical guide. J Anal Spectrom 31:832–840. doi:10.1039/C5JA00451A View ArticleGoogle Scholar
- Osterholt T, Salber D, Matusch A et al (2011) IMAGENA: image generation and analysis—an interactive software tool handling LA–ICP–MS data. Int J Mass Spectrom 307:232–239. doi:10.1016/j.ijms.2011.03.010 View ArticleGoogle Scholar
- Nemes P, Barton AA, Li Y, Vertes A (2008) Ambient molecular imaging and depth profiling of live tissue by infrared laser ablation electrospray ionization mass spectrometry. Anal Chem 80:4575–4582. doi:10.1021/ac8004082 View ArticleGoogle Scholar
- Matusch A, Fenn LS, Depboylu C et al (2012) Combined elemental and biomolecular mass spectrometry imaging for probing the inventory of tissue at a micrometer scale. Anal Chem 84:3170–3178. doi:10.1021/ac203112c View ArticleGoogle Scholar
- Austin C, Smith TM, Bradman A et al (2013) Barium distributions in teeth reveal early-life dietary transitions in primates. Nature 498:216–219. doi:10.1038/nature12169 View ArticleGoogle Scholar
- Jackson BP, Bugge D, Ranville JF, Chen CY (2012) Bioavailability, toxicity, and bioaccumulation of quantum dot nanoparticles to the amphipod Leptocheirus plumulosus. Environ Sci Technol 46:5550–5556. doi:10.1021/es202864r View ArticleGoogle Scholar
- Uerlings R, Matusch A, Weiskirchen R (2016) Reconstruction of laser ablation inductively coupled plasma mass spectrometry (LA–ICP–MS) spatial distribution images in Microsoft Excel 2007. Int J Mass Spectrom 395:27–35. doi:10.1016/j.ijms.2015.11.010 View ArticleGoogle Scholar
- Glez-Peña D, Reboiro-Jato M, Maia P et al (2010) AIBench: a rapid application development framework for translational research in biomedicine. Comput Methods Prog Biomed 98:191–203. doi:10.1016/j.cmpb.2009.12.003 View ArticleGoogle Scholar