Skip to main content
. 2024 Feb 6;25(2):bbae016. doi: 10.1093/bib/bbae016

Figure 1.

Figure 1

Schematic overview of SpaCAE augmentation-encoding-decoding (AC) processes and potential biological applications of SpaCAE in downstream SRT analysis (D, E). (A) The three data sources for SpaCAE inputs are STR expression matrix, spatial coordinates and hematoxylin and eosin (H&E) staining image. (B) Weighted graph (i.e. Inline graphic) construction from spatial multi-modal data and spatial expression augmentation from aggregating expression information from neighborhood spots. SpaCAE integrates spatial information into gene expression to augment the shared expression between spots by aggregating the gene expression from their K spatial neighbors through weighted graph, which forms the spots’ spatial contrastive structure (e.g. Inline graphicInline graphic). (C) SpaCAE model. SpaCAE uses robust graph convolutional encoder and deep contrastive variational autoencoder to generate the low-dimensional representation (i.e. Inline graphicInline graphic, Inline graphicInline graphic). The input data are the original gene expression matrix (i.e. Inline graphic), the augmented gene expression matrix (i.e. Inline graphic) and weighted spatial graph Inline graphic from (B). Based on the original and low-dimensional data, SpaCAE performs data reconstructions via graph deconvolutional decoder and deep contrastive variational autoencoder. SpaCAE iteratively learns the graph convolutional encoder Inline graphicand graph deconvolutional decoder Inline graphic, Inline graphicby minimizing the sum of reconstruction losses and contrastive losses (see Methods). When SpaCAE reaches convergence, the optimum is achieved for further downstream analyses. (D, E) Biological applications for SpaCAE including data denoising and spatial domain identification. (D) The reconstructed augmented spatial expression Inline graphic can be employed to denoise data. (E) The low-dimensional representation (i.e. (Inline graphic) can be applied to detect spatial domains.