From a52fc54d64e04f26e3026abc9ee787744ac146c4 Mon Sep 17 00:00:00 2001 From: Carlos Date: Thu, 16 Apr 2026 02:50:39 +0200 Subject: [PATCH] Actualizar MSI_Toloache_Paper_English.md changes in 3.1 Latent Space Geometry and Chemical Validation, 3.2.3 Compartmentalized Patchy Distributions (Clusters 0, 4, 5, and 9), title --- MSI_Toloache_Paper_English.md | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/MSI_Toloache_Paper_English.md b/MSI_Toloache_Paper_English.md index fd06fb6..48a1ede 100644 --- a/MSI_Toloache_Paper_English.md +++ b/MSI_Toloache_Paper_English.md @@ -1,4 +1,4 @@ -# Chemical-Anatomical Mapping of *Datura innoxia* via Mass Spectrometry Imaging (MSI): A Hybrid Approach Based on High-Performance Computing in Julia and Contrastive Learning in Python +# Self-Supervised Spatial Metabolomics: A Hybrid Julia-Python Workflow for the Automated Anatomical Mapping of *Datura innoxia* via Mass Spectrometry Imaging **Authors:** Carlos Daniel Sierra Álvarez, Juan Francisco Moreno Luna, José Jovani Martínez, José Julián Sierra Álvarez. **Affiliation:** Advanced Genomics Unit, Cinvestav, km 9.6 Libr. Nte. Irapuato-León, Irapuato, 36824, Gto., Mexico. @@ -39,43 +39,30 @@ We implemented a **Contrastive Learning (SimCLR)** scheme in PyTorch, following ## 3. Results and Discussion ### 3.1 Latent Space Geometry and Chemical Validation -The high-dimensional embeddings (1280-dimensional) generated by the EfficientNet-B0 backbone were projected into a 2-D manifold using t-SNE (Fig. [X]). The resulting latent space exhibits a highly structured geometry, where ions are grouped not by their absolute intensity, but by their spatial co-localization patterns. +The high-dimensional embeddings generated by the EfficientNet-B0 backbone were projected into a 2-D manifold using t-SNE (Fig.[X]). The resulting latent space exhibits a highly structured geometry, where ions are grouped not by their absolute intensity, but by their shared spatial topographies. -A critical validation of this self-supervised approach is the observation of **Isotopic Coherence**. In MSI, a molecule and its naturally occurring isotopes (e.g., $[M+H]^+$ and $[M+H+1]^+$) must share an identical spatial distribution. In our model, isotopic pairs were consistently mapped to adjacent coordinates within the same latent clusters. This phenomenon confirms that the SimCLR architecture successfully captured the underlying physicochemical signatures, effectively filtering out stochastic instrumental noise and focusing on the biological signal. +A cornerstone of the validation for this self-supervised approach is the emergence of **Isotopic Coherence** within the latent manifold. In MSI, a molecular species and its naturally occurring isotopes (e.g., $[M+H]^+$ and $[M+H+1]^+$) are fundamentally tied by an identical spatial distribution, providing a form of natural "ground truth" that requires no manual annotation. Although the SimCLR framework is entirely agnostic to the mass-to-charge (*m/z*) values or the chemical identity of the inputs, the encoder consistently projected isotopic pairs into adjacent coordinates within the same latent clusters. This clustering behavior demonstrates that the network successfully prioritized the underlying morphological fingerprints over stochastic instrumental noise or absolute intensity variations. Such coherence serves as a robust internal control, confirming that the learned representations are anchored in biological reality rather than technical artifacts. Furthermore, this **Chemical Coherence** extends beyond isotopes to include adducts and related fragments, suggesting that the model effectively deconvolutes the chemical complexity of the tissue into meaningful metabolic domains. ![[msi_tsne_clusters.png]] Figure X. **Visualizing metabolic specialization across anatomical zones of a _D. innoxia_ leaf using t-SNE.** This scatter plot displays the t-SNE dimensionality reduction of MSI data acquired from a leaf section at a spatial resolution of 100 µm. The original dataset of 588 *m/z* feature intensities was projected into a 2D space to visualize metabolic similarity. Ten distinct clusters are identified via automated segmentation of the co-localized ion images and are represented here by a qualitative color bar (right). Points of the same color indicate pixels with closely related metabolic signatures, corresponding to different anatomical regions within the leaf. The strong segregation between groups highlights a sharp molecular differentiation of metabolic functions across the tissue. -### 3.2 Chemical-Anatomical Segmentation in *Datura innoxia* - The unsupervised clustering of the latent space yielded 10 distinct molecular domains, each reflecting a specific spatial organization within the *D. innoxia* leaf. The morphological patterns observed across these clusters provide significant insights into the plant's metabolic compartmentalization (see Fig. [X]). +### 3.2 Chemical-Anatomical Segmentation in *D. innoxia* +The unsupervised clustering of the latent space yielded 10 distinct molecular domains, each reflecting a specific spatial organization within the *D. innoxia* leaf. The morphological patterns observed across these clusters provide significant insights into the plant's metabolic compartmentalization (see Fig. [X]). 3.2.1 Vascular and Transport Systems (Clusters 3, 7, and 8) - * Cluster 3 (Pure Vascular): This cluster clearly delineates the leaf's venation (midrib and lateral veins). It is primarily - composed of ions associated with the long-distance transport of metabolites. Notably, scopolamine ($m/z \approx 304$) was - categorized here, confirming its active movement through the vascular system. - * Cluster 7 and 8 (Mixed Vascular): Cluster 7 shows signals spanning both the venation and the entire lamina, while Cluster 8 - specifically links the vascular system with the leaf tip. These patterns likely represent transition zones where metabolites move - from transport vessels into the surrounding parenchyma or accumulate at terminal apical points. + * Cluster 3 (Pure Vascular): This cluster clearly delineates the leaf's venation (midrib and lateral veins). It is primarily composed of ions associated with the long-distance transport of metabolites. Notably, scopolamine ($m/z \approx 304$) was categorized here, confirming its active movement through the vascular system. + * Cluster 7 and 8 (Mixed Vascular): Cluster 7 shows signals spanning both the venation and the entire lamina, while Cluster 8 specifically links the vascular system with the leaf tip. These patterns likely represent transition zones where metabolites move from transport vessels into the surrounding parenchyma or accumulate at terminal apical points. 3.2.2 Apical Accumulation and Defense (Clusters 1, 6, 8, and 9) - * Cluster 1 (Pure Apical): Exclusively localized at the leaf tip, this cluster represents a highly specific chemical domain. - Concentration at the leaf apex is a known defense strategy in Solanaceae, potentially related to guttation or the directed - accumulation of toxins to deter herbivores at the most exposed parts of the leaf. - * Cluster 6 (Mixed Apical/Patchy): This cluster exhibits a unique combination of apical concentration and large, patchy - distributions across the leaf surface. Hyoscyamine ($m/z \approx 290$) was assigned to this domain, suggesting a dual role of - storage in specialized tissues (patchy "islands") and accumulation at the leaf tips for localized defense. + * Cluster 1 (Pure Apical): Exclusively localized at the leaf tip, this cluster represents a highly specific chemical domain. Concentration at the leaf apex is a known defense strategy in Solanaceae, potentially related to guttation or the directed accumulation of toxins to deter herbivores at the most exposed parts of the leaf. + * Cluster 6 (Mixed Apical/Patchy): This cluster exhibits a unique combination of apical concentration and large, patchy distributions across the leaf surface. Hyoscyamine ($m/z \approx 290$) was assigned to this domain, suggesting a dual role of storage in specialized tissues (patchy "islands") and accumulation at the leaf tips for localized defense. 3.2.3 Compartmentalized Patchy Distributions (Clusters 0, 4, 5, and 9) - * Clusters 0, 4, and 5 (Patchy/Islands): These clusters present "island-like" or spotted patterns of varying sizes across the entire - leaf. Cluster 5 features numerous small islands, Cluster 9 shows medium-sized spots, and Clusters 0 and 4 exhibit large, active - spots. In Datura, these patterns are highly characteristic of glandular trichomes or specialized epidermal cells where secondary - metabolites are sequestered to avoid self-toxicity while remaining accessible for rapid defense response. + * Clusters 0, 4, and 5 reveal a 'punctate' or 'island-like' topography, a spatial hallmark of specialized epidermal structures such as glandular trichomes. In *D. innoxia*, these chemical foci likely represent discrete sequestration sites where tropane alkaloids are concentrated to mitigate autotoxicity while maintaining a frontline defense against herbivory. 3.2.4 Ubiquitous Homogeneous Background (Cluster 2) - * Cluster 2 (Universal Distribution): This cluster encompasses ions distributed uniformly across the entire leaf surface. These - signals are likely associated with primary metabolism (e.g., chlorophylls, lipids, and structural carbohydrates) or common - background signals inherent to the biological matrix, serving as the metabolic baseline of the leaf tissue. + * Cluster 2 (Universal Distribution): This cluster encompasses ions distributed uniformly across the entire leaf surface. These signals are likely associated with primary metabolism (e.g., chlorophylls, lipids, and structural carbohydrates) or common background signals inherent to the biological matrix, serving as the metabolic baseline of the leaf tissue. ---