Actualizar MSI_Toloache_Paper_English.md
This commit is contained in:
@@ -23,23 +23,23 @@ Traditionally, MSI data analysis has relied on linear methods and standard imagi
|
||||
### 2.1 MSI Data Acquisition (LD-LTP-MSI)
|
||||
Imaging was performed using an **LD-LTP-MSI** system coupled to an **LCQ Fleet Ion Trap** mass spectrometer (Thermo Scientific). The custom ionization source consisted of a Low-Temperature Plasma (LTP) probe and a continuous-wave violet laser (400-450 nm, 1.0 W). The LTP probe was operated with helium (0.1 L/min) at 3.3 kV and ~13 kHz, positioned at a 45° angle and 4 mm from the ion transfer capillary. The laser was oriented at 90° to the sample surface at a focal distance of 9 cm, producing a spot size of ~22 µm. Data were acquired in positive ion mode (*m/z* 50–700) with a spatial resolution of **150 µm** for the leaf samples.
|
||||
|
||||
### 2.2 High-Performance Processing and Data Normalization (Julia)
|
||||
### 2.2 Computational Environment
|
||||
All computational analyses, including the high-performance data extraction in Julia and the deep learning-based representation learning in Python, were performed on a mobile workstation with the following specifications: **Processor:** Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (4 cores, 8 threads), **Memory:** 32 GB DDR4 RAM, **Graphics:** Intel UHD Graphics (CometLake-U GT2) and **Operating System:** Ubuntu 24.04.4 LTS (Linux Kernel 6.8.0-110-generic).
|
||||
|
||||
### 2.3 High-Performance Processing and Data Normalization (Julia)
|
||||
The preprocessing stage was conducted using the **JuliaMSI** framework (Sierra-Álvarez et al., 2025), a platform specifically engineered to address the computational bottlenecks of the "two-language problem." By leveraging Julia’s just-in-time (JIT) compilation and efficient memory-mapping capabilities, we facilitated the rapid ingestion and manipulation of massive **imzML** binary files. As demonstrated in previous benchmarks (Sierra-Álvarez et al., 2025), this architecture provides a significant performance advantage over interpreted environments such as Python or R, enabling the high-throughput extraction of mass slices without compromising spectral precision.
|
||||
|
||||
1. **Ion Extraction and Filtering:** Mass slices were extracted from the `Leaf.imzML` dataset within the ***m/z* 50.0 to 700.0** range. This upper limit was selected because no significant signals were detected beyond this threshold using the LD-LTP-MSI technique for this specific sample, and its implementation allowed for a more computationally manageable dataset. To ensure the inclusion of only chemically relevant signals, peaks were filtered using an intensity threshold of 2% relative to the base peak of the average spectrum, resulting in a refined subset of ion images for downstream analysis.
|
||||
2. **TrIQ Normalization (Threshold Intensity Quantization):** A dynamic TrIQ algorithm was implemented, calculating the 98th percentile to mitigate hotspots and preserve contrast in low-intensity regions (Rosas-Román et al., 2024). For each ion map, the **98th percentile** of the intensity distribution was calculated; all pixels exceeding this value were capped at this threshold. This percentile-based approach prevents outliers from skewing the global contrast, thereby preserving the spatial details of low-abundance metabolites that would otherwise be suppressed in a standard linear scaling. By compressing the dynamic range, TrIQ ensures that the morphological features of the chemical distributions are standardized, which is essential for the stability of the subsequent contrastive learning phase.
|
||||
3. **Spatial Standardization:** To ensure compatibility with the deep learning backbone, each normalized ion map was spatially resampled to a resolution of **224x224 pixels** using bilinear interpolation. This step standardizes the input geometry while maintaining the structural integrity of the leaf’s anatomical features, such as the vascular midrib and parenchymal regions(Hu et al., 2022).
|
||||
|
||||
### 2.3 Self-Supervised Representation Learning (Python)
|
||||
### 2.4 Self-Supervised Representation Learning (Python)
|
||||
We implemented a **Contrastive Learning (SimCLR)** scheme in PyTorch, following the methodology proposed by Hu et al. (2022).
|
||||
|
||||
1. **Model Architecture:** **EfficientNet-B0** was used as the backbone encoder. The final classification layer was removed and replaced with a two-layer MLP projection head to project the data into a 128-dimensional space.
|
||||
2. **MSI-Specific Data Augmentations:** Stochastic transformations were applied to simulate experimental variability, including slight rotations, Gaussian blur, and the addition of additive Gaussian noise to bolster the model against detector background noise.
|
||||
3. **Clustering and Optimization:** To determine the optimal number of clusters ($k$), we performed a systematic sweep from $k=3$ to $k=17$. While mathematical heuristics (Silhouette Score) suggested a lower $k$, we selected **$k=10$** as the functional optimum. This choice prioritized **anatomical fidelity**, allowing the model to resolve specialized features such as primary and secondary venation (nervatures) and discrete epidermal sequestration sites (island-like patterns).
|
||||
|
||||
### 2.4 Computational Environment
|
||||
All computational analyses, including the high-performance data extraction in Julia and the deep learning-based representation learning in Python, were performed on a mobile workstation with the following specifications: **Processor:** Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (4 cores, 8 threads), **Memory:** 32 GB DDR4 RAM, **Graphics:** Intel UHD Graphics (CometLake-U GT2) and **Operating System:** Ubuntu 24.04.4 LTS (Linux Kernel 6.8.0-110-generic).
|
||||
|
||||
---
|
||||
|
||||
## 3. Results and Discussion
|
||||
@@ -58,7 +58,7 @@ Rather than reflecting random variation, the observed spatial arrangements defin
|
||||
|
||||
![[TSNE_figure.png]]
|
||||
|
||||
**Figure X. t-SNE-based clustering reveals spatially resolved chemical domains in *D. innoxia* leaves (k = 10).** The t-distributed stochastic neighbor embedding (t-SNE) projection of MSI data separates the dataset into ten distinct clusters (Clusters 0–9), each corresponding to a reproducible spatial ion distribution pattern. Representative ion images (one per cluster) illustrate the characteristic spatial topology associated with each molecular domain. Clusters 9, 4, 2, 0, and 6 are primarily associated with the midrib and vascular architecture, showing varying degrees of continuity and intensity along the main vein and adjacent regions. Notably, Clusters 8 and 9 exhibit overlapping ion distributions along the midrib, with Cluster 9 displaying a continuous vascular signal and Cluster 8 presenting a more discontinuous, island-like pattern in the same region. Clusters 3, 5, and 7 are enriched toward the apical region, showing increased ion density at the distal tip combined with heterogeneous island-like distributions across the lamina. In contrast, Clusters 1 and 8 are characterized by discrete, spatially isolated ion islands distributed across the leaf surface, reflecting highly localized regions of signal intensity. A representative photograph of a *D. innoxia* leaf is included to provide anatomical reference for the spatial patterns observed in the MSI-derived clusters.
|
||||
**Figure 2. t-SNE-based clustering reveals spatially resolved chemical domains in *D. innoxia* leaves (k = 10).** The t-distributed stochastic neighbor embedding (t-SNE) projection of MSI data separates the dataset into ten distinct clusters (Clusters 0–9), each corresponding to a reproducible spatial ion distribution pattern. Representative ion images (one per cluster) illustrate the characteristic spatial topology associated with each molecular domain. Clusters 9, 4, 2, 0, and 6 are primarily associated with the midrib and vascular architecture, showing varying degrees of continuity and intensity along the main vein and adjacent regions. Notably, Clusters 8 and 9 exhibit overlapping ion distributions along the midrib, with Cluster 9 displaying a continuous vascular signal and Cluster 8 presenting a more discontinuous, island-like pattern in the same region. Clusters 3, 5, and 7 are enriched toward the apical region, showing increased ion density at the distal tip combined with heterogeneous island-like distributions across the lamina. In contrast, Clusters 1 and 8 are characterized by discrete, spatially isolated ion islands distributed across the leaf surface, reflecting highly localized regions of signal intensity. A representative photograph of a *D. innoxia* leaf is included to provide anatomical reference for the spatial patterns observed in the MSI-derived clusters.
|
||||
|
||||
#### 3.2.1 Vascular and Midrib-Associated Domains (Clusters 9, 0, 2, 4, 6)
|
||||
The clustering analysis reveals a group of domains strongly associated with the midrib and vascular architecture of the leaf. **Cluster 9** represents the most clearly defined vascular pattern, exhibiting a continuous and high-intensity signal along the midrib. Within this cluster, ions corresponding to atropine and scopolamine are readily distinguishable, indicating a strong co-localization of these compounds within this anatomical region. In addition to the midrib signal, Cluster 9 also includes smaller islands distributed throughout the lamina, suggesting a secondary spatial component characterized by localized ion enrichment outside the primary vein. **Cluster 4** maintains a clear midrib-associated signal but introduces larger and more defined metabolic islands across the leaf surface. This pattern indicates a broader spatial dispersion of ions while preserving a strong vascular signature. **Cluster 2** similarly combines vascular localization with medium-to-large islands, although with a more diffuse distribution compared to Cluster 4. The continuity of the midrib signal in this cluster is less pronounced, suggesting variability in ion intensity along the vascular axis. **Cluster 0** exhibits a weaker and more fragmented midrib presence, integrated with medium-sized islands distributed across the lamina. This pattern reflects a reduced dominance of vascular-associated signals relative to surrounding tissue. Finally, **Cluster 6** defines a distinct spatial configuration characterized by signals adjacent to the midrib (paravascular regions) as well as a broader distribution across the leaf surface. The lack of a strictly continuous midrib signal differentiates this cluster from the others in this group.
|
||||
|
||||
Reference in New Issue
Block a user