DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 41,833 characters · extracted from preprint-html · click to expand
DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision View ORCID Profile Kalin Nonchev , View ORCID Profile Glib Manaiev , View ORCID Profile Viktor H Koelzer , View ORCID Profile Gunnar Rätsch doi: https://doi.org/10.1101/2025.09.23.678121 Kalin Nonchev † Institute for Machine Learning, Department of Computer Science , ETH Zurich, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Kalin Nonchev Glib Manaiev † Institute for Machine Learning, Department of Computer Science , ETH Zurich, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Glib Manaiev Viktor H Koelzer ‡ Institute of Medical Genetics and Pathology Group, University Hospital of Basel , Basel, Switzerland § Computational and Translational Pathology Group, Department of Biomedical Engineering, University of Basel , Basel, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Viktor H Koelzer Gunnar Rätsch † Institute for Machine Learning, Department of Computer Science , ETH Zurich, Switzerland Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Gunnar Rätsch Abstract Full Text Info/History Metrics Data/Code Preview PDF Abstract Spot-based spatial transcriptomics (ST) technologies like 10x Visium quantify genome-wide gene expression and preserve spatial tissue organization. However, their coarse spot-level resolution aggregates signals from multiple cells, preventing accurate single-cell analysis and detailed cellular characterization. Here, we present DeepSpot2Cell, a novel DeepSet neural network that leverages pretrained pathology foundation models and spatial multi-level context to effectively predict virtual single-cell gene expression from histopathological images using spot-level supervision. DeepSpot2Cell substantially improves gene expression correlations on a newly curated benchmark we specifically designed for single-cell ST deconvolution and prediction from H&E images. The benchmark includes 20 lung, 7 breast, and 2 pancreatic cancer samples, across which DeepSpot2Cell outperformed previous super-resolution methods, achieving respective improvements of 46%, 65%, and 38% in cell expression correlation for the top 100 genes. We hope that DeepSpot2Cell and this benchmark will stimulate further advancements in virtual single-cell ST, enabling more precise delineation of cell-type-specific expression patterns and facilitating enhanced downstream analyses. Code availability https://github.com/ratschlab/DeepSpot2Cell 1 Introduction Spatial transcriptomics (ST) provides valuable insights into the spatial heterogeneity of tissue microenvironments and the mechanisms underlying disease progression [ 1 , 2 ]. Despite its transformative potential, current ST technologies involve an inherent trade-off between spatial resolution and transcriptome coverage [ 3 ]. For example, 10x Visium captures the whole transcriptome but at a coarse spot-level resolution, integrating signals from 1–10 cells depending on cell size [ 4 ]. As a result, each spot represents a bulk of cells, making it difficult to distinguish individual cell types or states. In contrast, 10x Xenium achieves single-cell resolution but is restricted to a targeted gene panel, which may exclude relevant biomarkers. Newer technologies have advanced spatially resolved single-cell expression profiling by enabling subcellular, full-transcriptome coverage (e.g., 10x Visium HD). However, these methods still face major challenges [ 5 ], including low gene-detection sensitivity, high error rates, and high costs, which limit their applicability in clinical studies. Achieving true single-cell resolution across all protein-coding genes would allow for more precise cellular annotations and a detailed, multi-modal view of biological mechanisms and cellular interactions. At the same time, data generated using the more established spot-level Visium technology are rapidly accumulating in public databases [ 6 , 7 , 8 ] and are supporting the first large-scale cohorts (e.g., 7,000 patients in MOSAIC [ 9 ]). Consequently, robust deconvolution algorithms are urgently needed to accurately reconstruct single-cell transcriptomic profiles for high-resolution cellular analysis. Recently, advances in deep learning have demonstrated that hematoxylin and eosin (H&E)-stained histological images can be used to effectively predict ST profiles [ 10 , 11 , 12 , 13 , 14 ] with some genes exceeding a correlation of 0.60 [ 14 ]. These methods represent a promising, cost-effective, and scalable alternative to conventional sequencing techniques. Building on this, early studies have explored the prediction of super-resolution transcriptomic data [ 15 , 16 ], which produce superpixel-level expression maps rather than precise cell-level profiles. Despite these advances, achieving true single-cell transcriptomic resolution remains a major challenge. To this end, we present DeepSpot2Cell, a novel deep learning model that leverages recent pathology foundation models alongside spatial multi-level context to accurately predict virtual single-cell gene expression from H&E images using spot-level supervision. DeepSpot2Cell uses a permutation-invariant DeepSet architecture to represent spots as bags of individual cells, enabling the model to learn each cell’s contribution during training and perform single-cell prediction at inference. We evaluate our model on a newly curated benchmark, which we specifically designed to assess two fundamental tasks: deconvolving retrospective ST datasets and predicting single-cell expression using unseen H&E images. The benchmark includes 20 lung, 7 breast, and 2 pancreatic cancer samples, sequenced at single-cell resolution with 10x Xenium and structured to mimic 10x Visium spot-level data. The results demonstrate a substantially improved reconstruction of single-cell transcriptomic profiles compared to previous super-resolution models, with consistent performance validated across in-sample, out-of-sample, and out-of-distribution scenarios. To our knowledge, DeepSpot2Cell is the first deep learning model to leverage pathology foundation models to predict virtual single-cell ST from H&E images using spot-level supervision. This strategy takes advantage of the rapidly growing spot-level ST datasets by learning robust single-cell mappings between tissue images and transcriptomic profiles. It enables both the augmentation of retrospective ST cohorts with single-cell resolution and the annotation of histopathological images with virtual single-cell ST, thereby supporting more precise and detailed cellular analyses for biomedical research. 2 Related Works 2.1 Pathology foundation models Pathology foundation models (PFM) are trained on large-scale histopathology datasets using self-supervised techniques such as contrastive learning or masked image modeling. Notable examples include UNI [ 17 ], Phikon-v2 [ 18 ], and H-Optimus-0 [ 19 ], which mostly rely on vision transformers (ViT) to learn high-dimensional morphological representations. These models achieve state-of-the-art performance across a range of computational pathology tasks [ 20 , 21 ]. 2.2 Spatial transcriptomics prediction from H&E images ST sequencing methods generate spatially resolved transcriptomic profiles aligned with H&E images. For example, on the 10x Genomics Visium platform, each spot covers 55µm of tissue area and captures transcripts from 1-10 cells depending on the cell size [ 4 ]. With the increasing availability of such molecular datasets [ 6 , 7 , 8 ], specialized machine-learning models have been developed to predict ST from H&E images using convolutional neural networks [ 10 ], vision transformers [ 12 , 13 ], or contrastive learning [ 11 ]. The recent DeepSpot model [ 14 ] introduces two key innovations: leveraging a PFM to extract informative spot representations and integrating spatial multi-level tissue and neighborhood context. This enables the prediction of 5,000 genes with substantially higher accuracy and up to six-fold greater coverage than previous models. 2.3 Super-resolution-based deconvolution models from H&E images Super-resolution methods aim to improve the spatial resolution of ST by integrating H&E images. For example, iStar [ 22 ] uses hierarchical vision transformers to extract histology features at a 16×16-pixel scale, capturing fine-grained tissue c haracteristics. scstGCN [ 23 ] combines graph convolutional networks with PFM and spatial information to capture the relationships among adjacent superpixels. However, these methods output high-dimensional superpixel expression maps rather than precise cell transcriptomic profiles, requiring custom post-processing to approximate individual cell expression. 3 Methods 3.1 Model architecture DeepSpot2Cell extends the DeepSets architecture [ 24 ] to integrate spatial and multi-tissue context from histopathology images for accurate cell expression prediction using spot-level supervision. As illustrated in Figure 1 , for each cell j within spot i , the model extracts features from three H&E image inputs using frozen PFM: (i) the cropped cell tile defined by the segmentation mask , (ii) the full spot tile containing the cell , and (iii) the neighboring spot tile(s) Download figure Open in new tab Figure 1: DeepSpot2Cell predicts virtual single-cell spatial transcriptomics as follows: (1) During training, the model takes as input (i) the cropped cell tile defined by the segmentation mask, (ii) the full spot tile containing the cell, and (iii) the neighboring spot tile(s). All tiles are first processed through a pathology foundation model (PFM) before being used to train the model to regress spot-level gene expression; (2) During inference, the model takes as input only the cell tile of interest along with (ii) and (iii), again after PFM processing, and predicts the virtual transcriptomic profile at the cell level. Download figure Open in new tab Figure 2: H&E image and CellViT [ 26 ] cell-type annotations for slide NCBI867 (lung dataset). Annotations and model predictions of MSLN expression across spots and cells. Download figure Open in new tab Figure 3: Different DeepSpot2Cell components compared based on the area under the Pearson correlation gene curve computed on the cells from within spots (IS in ). For each cell, PFM embeddings are processed via dedicated two-layer multilayer perceptrons (MLP): ϕ cell for cell tiles, and ϕ spot for spot and neighboring contexts. These embeddings are concatenated to form the integrated cell representation: Cell embeddings within each spot are aggregated by summation, ensuring permutation invariance and accommodating variable cell counts within a spot: where ρ gene is a two-layer MLP gene prediction head generating the predicted gene expression vector ŝ i ∈ ℝ G for spot i , and 𝒞 i denotes the set of cells within that spot. Notably, the summation aggregation naturally models transcript count additivity and ensures robustness to cell order permutations. 3.2 Benchmarking of virtual cell transcriptomic profiles inferred from H&E images 10x Visium measures gene expression at the spot level, but single-cell resolution is needed for accurate evaluation of prediction methods. To address this, we gathered 10x Xenium datasets across multiple cancer and tissue types ( Table 2 , Figure 4 ) with true single-cell resolution to establish a newly dedicated benchmark. Building upon the HEST-1k benchmark [ 20 ], we derived pseudo spot-level gene expression profiles by aggregating single-cell transcript counts within each 55µm spatial spot, consistent with 10x Visium. To account for cell size variability [ 25 ], a cell was considered fully contained within a spot if its nucleus was located at least 10µm inside the spot boundary. Download figure Open in new tab Figure 4: Distribution of cell counts per spot across datasets. Evaluation Models are trained exclusively on spot-level data, and their performance is assessed by comparing predicted gene expression to single-cell ground truth using per-gene Pearson correlation. Two key evaluation tasks were considered: deconvolution of in-sample (IS) cells in spots seen during training, and prediction of single-cell expression for out-of-sample (OOS) cells from unseen samples within the cohort, and out-of-distribution (OOD) cells from samples belonging to a different cohort. 4 Experiments 4.1 DeepSpot2Cell enables cell expression deconvolution from spatial transcriptomics spots Table 1 summarizes the performance of a two-layer MLP baseline, previous super-resolution-based models (iStart and scstGCN), and DeepSpot2Cell in deconvolving spot-based ST from H&E images. The in-sample (IS) scenario benchmarks deconvolution performance. IS is further subdivided into IS in , assessing gene correlation among cells within spots, and IS out , assessing cells outside spots. View this table: View inline View popup Download powerpoint Table 1: Benchmark of single-cell expression prediction across lung, breast, and pancreatic cancer datasets. Average Pearson correlation between predicted and ground-truth single-cell gene expression is reported for the top 100 most predictive genes. View this table: View inline View popup Download powerpoint Table 2: HEST-1k datasets used in this study. DeepSpot2Cell substantially improved the single-cell gene expression deconvolution across the three cancer datasets. For example, in the lung cancer dataset, DeepSpot2Cell increased the IS in Pearson correlation across the top 100 genes by 22%, from 0.32 (best competitor, scstGCN) to 0.39, with some genes exceeding a correlation of 0.50 ( Figure 5 ). Notably, DeepSpot2Cell’s transcriptomic predictions for cells located within spots (IS in ) and outside of spots (IS out ) are similarly accurate in lung and breast cancer, indicating that the model does not overfit to the spot-level signals ( Table 3 , 4 ). View this table: View inline View popup Download powerpoint Table 3: Benchmark of single-cell expression prediction across lung, breast, and pancreatic cancer datasets. Average Pearson correlation between predicted and ground-truth single-cell gene expression is reported for the top 50 most predictive genes. View this table: View inline View popup Download powerpoint Table 4: Benchmark of single-cell expression prediction across lung, breast, and pancreatic cancer datasets. Average Pearson correlation between predicted and ground-truth single-cell gene expression is reported for the top 200 most predictive genes. Download figure Open in new tab Figure 5: Deconvolution benchmark across lung, breast, and pancreatic cancer datasets. Sets of X most predictive genes for each model on the x-axis are sorted by the descending Pearson correlation on the y-axis. Correlations computed per-gene on the cells from within spots ( IS in ). Figure 2 qualitatively illustrates the deconvolution of MSLN , a known non-small cell lung cancer marker gene, on slide NCBI867 from the lung cancer dataset. Predictions from iStar ( r = 0.21) and scstGCN ( r = 0.30) are noisy and spatially diffuse, whereas DeepSpot2Cell ( r = 0.45) produces coherent, spatially structured patterns that align better with the ground truth. IS in : gene correlation among cells within spots. IS out : gene correlation among cells outside spots. OOS: gene correlation among cells on hold-out patients, same cohort. OOD: gene correlations on cells from different cohort. 4.2 DeepSpot2Cell predicts virtual single-cell spatial transcriptomics from H&E images Furthermore, the out-of-sample (OOS) and out-of-distribution (OOD) scenarios assess a model’s ability to infer virtual single-cell gene expression for samples unseen during training, simulating its application to novel data from the same or a different cohort, respectively ( Table 1 ). For example, in the lung cancer OOS scenario, DeepSpot2Cell consistently increased the Pearson correlation by 46%, from 0.24 (best competitor, scstGCN) to 0.35 (DeepSpot2Cell). In the more challenging breast cancer OOD scenario, DeepSpot2Cell improved the gene correlations by more than 50%, demonstrating that it has learned robust single-cell transcriptomic mappings that generalize to unseen histopathological images from other cohorts. 4.3 DeepSpot2Cell ablation experiments Next, we evaluated how specific modeling choices in DeepSpot2Cell contribute to its accuracy in single-cell prediction ( Figure 3 ). We make a few important observations: Leveraging spatial multi-level tissue context through both spot representations and their neighbors improves DeepSpot2Cell’s gene correlations compared with using only the spot and cell or only the cell itself, consistent with previous findings [ 27 ]. The choice of PFM is important, with Phikon-v2 outperforming UNI and H-Optimus-0, potentially due to Phikon-v2’s multi-resolution training design. A more advanced GRU network for learning the set convolution operation performs worse than simple summation, likely due to cell order sensitivity. 5 Discussion & Conclusion In this work, we propose DeepSpot2Cell, a novel DeepSet neural network that leverages PFM and spatial multi-level tissue context to accurately infer virtual single-cell ST from routine histology images using spot-level supervision. The method’s key innovation is modeling spots as bags of cells: DeepSpot2Cell learns how individual cells contribute to spot-level gene expression and uses these mappings to predict single-cell expression. Further, we curated a newly dedicated benchmark designed for single-cell ST deconvolution and prediction, enabling systematic comparison of models. Our results demonstrate that DeepSpot2Cell outperforms previous super-resolution models in single-cell deconvolution and prediction across multiple cancer types, even in out-of-distribution settings. The variable performance of other super-resolution models across different scenarios indicates over-fitting to the specific images and transcriptomic spots. In contrast, DeepSpot2Cell gene correlations were consistent, indicating that it has learned general single-cell mappings that could be transferred to unseen images. Notably, both iStar and scstGCN underperformed on OOD breast cancer compared to our MLP baseline, highlighting their limited ability to generalize beyond the training distribution. In summary, DeepSpot2Cell uses the abundance of spot-based ST data both to augment existing ST cohorts with cell-level resolution and to learn generalizable single-cell transcriptomic mappings, enabling the prediction of single-cell expression profiles from H&E images. 6 Limitations & Future work Several limitations merit acknowledgment. First, the experiments used pseudo-Visium spots derived from Xenium data, which may not fully reflect real Visium measurements. We also relied on available old Xenium datasets with ∼ 300 genes rather than the newer 5k panels. Second, accuracy depends on the quality of cell segmentation, as errors in segmentation propagate to expression assignments. In our benchmark, we relied on Xenium ground-truth nuclei locations, but in practice, these must be inferred computationally, requiring accurate nucleus detection. Improving and integrating these methods is essential for single-cell resolution in real-world settings. Finally, this work motivates further research on the utility of the virtual cells in downstream biological applications, including identifying genes that correlate with tissue architecture and those that cannot be reliably predicted. A DeepSpot2Cell training details DeepSpot2Cell was trained on an NVIDIA RTX 4090 using the Adam optimizer with a learning rate of 10 −4 and a batch size of 256 spots. Early stopping was used based on validation loss. Dropout with rate 0.3 was applied to the ϕ and ρ gene MLPs to reduce overfitting. We optimize the model by minimizing the mean squared error (MSE) loss between predicted and observed spot expressions: where N is the number of spots. The code is available at https://github.com/ratschlab/DeepSpot2Cell . Computational data analysis was performed at Leonhard Med ( https://sis.id.ethz.ch/services/sensitiveresearchdata/ ), a secure trusted research environment at ETH Zurich. B Pathology foundation models Tile embeddings were extracted from pretrained pathology foundation models (PFM), with their weights obtained from Hugging Face. UNI: https://huggingface.co/MahmoodLab/UNI Phikon v2: https://huggingface.co/owkin/phikon-v2 H-optimus-0: https://huggingface.co/bioptimus/H-optimus-0 We benchmarked their performance to assess their contribution and found that Phikon v2 produced more accurate expression predictions relative to the ground truth ( Figure 3 ). To isolate the effect of the PFM in our benchmarks, we kept Phikon v2 fixed as the underlying pathology model in DeepSpot2Cell and scstGCN, ensuring fair comparability. Notably, these models are PFM-agnostic in practice, allowing the pathology foundation model to be replaced with a more suitable one depending on tissue characteristics. C MLP baseline The MLP baseline is a two-layer network designed to isolate the contributions of DeepSpot2Cell’s core components: (1) spatial multi-level context integration, and (2) the DeepSets architecture, which handles variable numbers of cells per spot. This baseline provides a direct strategy for inferring single-cell expression from H&E images using PFM features, serving as a reference for evaluating the trade-off between architectural complexity and predictive performance. Training followed the procedure described in Appendix A, with the MLP optimized to predict spot-level expression from spot-tile PFM features. During inference, cell-level PFM features were provided, and the outputs were interpreted as cell-level predictions. D Super-resolution models Super-resolution methods were trained using default hyperparameters from their respective official implementations. D.1 Code availability scstGCN: https://github.com/wenwenmin/scstGCN iStar: https://github.com/daviddaiweizhang/istar D.2 Superpixel map expression post-processing details These methods generate continuous high-dimensional expression grids corresponding to the original patch regions: iStar produces 16×16 node grids while scstGCN outputs 14×14 grids. During evaluation, to obtain cell-level predictions from the grid outputs, cell bounding boxes were manually downscaled to grid coordinates and intersected with the grid nodes. Then, cell expression values were computed as the average of all nodes intersecting with each cell’s downscaled bounding box. The resulting cell-level predictions were then normalized to 10,000 counts per spot, followed by log1p transformation. E Data We utilized organ-specific Xenium datasets, focusing on three cancer types for which sufficient high-quality samples were available: 20 lung [ 28 ], 7 breast [ 29 , 30 ], and 2 pancreatic [ 31 , 32 ] cancer samples ( Table 2 ). We downloaded the datasets using the HEST-1k preprocessing pipeline [ 20 ]. F Data preprocessing F.1 Pseudospots definition 10x Visium spots contain a tissue area of 55µm, capturing between 1-10 cells, depending on the cell size [ 4 ]. To account for the cell size variability [ 25 ], cells were considered inside the spot if their nucleus fell at least 10µm within the spot boundary, otherwise considered outside the spot. While this approach may be suboptimal—since cancer cells are generally larger [ 34 ] and their membranes could extend beyond the spot boundary—we calculated with this setup that the average number of cells per spot across the three datasets to be between 1-10 cells ( Figure 4 ), which alligns with 10x Visium reported characteristics [ 4 ]. Specifically, H&E images were available at 20x magnification and were divided into non-overlapping 224×224 pixel tiles. Each tile contained a central circular pseudospot with a 160-pixel diameter, and spot centroids were spaced 224 pixels apart. Spot-level expression was computed as the sum of all cells located within the pseudospot. The distribution of cell counts per spot across all datasets is shown in Figure 4 . F.2 Gene expression preprocessing and quality control Gene counts preprocessing followed a standardized pipeline. Genes expressed in fewer than 20 cells across the sample, as well as blank and negative control genes, were removed. For normalization, spot-level counts were scaled to sum to 10,000 transcripts per spot and subsequently log1p-transformed. Cell-level normalization was performed based on spatial context (inside or outside a spot): cells within a spot were normalized to sum to 10,000 counts, whereas outside-spot cells were normalized using the total counts of the inside-spot cells from the corresponding spot. This strategy ensured that outside-spot cells did not affect the normalization of inside-spot cells, while still undergoing consistent preprocessing. F.3 Feature extraction Individual cell tiles were defined as the smallest square that fully contains the segmented area of the cell, which was obtained by CellViT [ 26 ] and was provided with the HEST-1k dataset. Cell and spot tiles were transformed in accordance with the recommended preprocessing of each particular pathology foundation model. G Evaluation details Model performance was assessed using per-gene Pearson correlation. where x i denotes the predicted value for gene i, y i denotes the observed value for gene i , and are the mean predicted and observed values, respectively, and n is the number of cells. The Pearson correlation measures how well the predicted values agree with the observed values across samples for each gene. Cross-validation employed patient-level data partitioning to ensure validation splits contained only samples from distinct patients. The number of folds was set to min(5, n_patients) . We bootstrapped 10,000 times from the median Pearson correlation across the test folds and reported the resulting median Pearson correlation along with its standard error. H Ablation details All ablations were compared on the lung cancer dataset using the area under the Pearson correlation gene curve computed on cells from within spots (IS in ), as shown in Figure 3 . I Extended evaluation results Funder Information Declared Swiss National Science Foundation , 220127 , 201656 ETH Zurich Footnotes kalin.nonchev{at}inf.ethz.ch gmanaiev{at}ethz.ch viktor.koelzer{at}usb.ch raetsch{at}inf.ethz.ch Include an acknowledgment of the computational resources and infrastructure that supported this work. https://github.com/ratschlab/DeepSpot2Cell References [1]. ↵ Qichao Yu , Miaomiao Jiang , and Liang Wu . Spatial transcriptomics technology in cancer research . Frontiers in Oncology , 12 : 1019111 , 2022 . OpenUrl PubMed [2]. ↵ Marco De Zuani , Haoliang Xue , Jun Sung Park , Stefan C Dentro , Zaira Seferbekova , Julien Tessier , Sandra Curras-Alonso , Angela Hadjipanayis , Emmanouil I Athanasiadis , Moritz Gerstung , et al. Single-cell and spatial transcriptomics analysis of non-small cell lung cancer . Nature communications , 15 ( 1 ): 4388 , 2024 . OpenUrl PubMed [3]. ↵ Lambda Moses and Lior Pachter . Museum of spatial transcriptomics . Nature methods , 19 ( 5 ): 534 – 546 , 2022 . OpenUrl PubMed [4]. ↵ 10X Genomics . How many cells are captured in a single spot?, n.d . URL https://kb.10xgenomics.com/hc/en-us/articles/360035487952-How-many-cells-are-captured-in-a-single-spot . Accessed: 2025-08-26 . [5]. ↵ Yixing Dong , Chiara Saglietti , Quentin Bayard , Almudena Espin Perez , Sabrina Carpentier , Daria Buszta , Stephanie Tissot , Rémy Dubois , Atanas Kamburov , Senbai Kang , et al. Transcriptome analysis of archived tumors by visium, geomx dsp, and chromium reveals patient heterogeneity . Nature communications , 16 ( 1 ): 4400 , 2025 . OpenUrl PubMed [6]. ↵ Zhicheng Xu , Weiwen Wang , Tao Yang , Ling Li , Xizheng Ma , Jing Chen , Jieyu Wang , Yan Huang , Joshua Gould , Huifang Lu , et al. Stomicsdb: a comprehensive database for spatial transcriptomics data sharing, analysis and visualization . Nucleic acids research , 52 ( D1 ): D1053 – D1061 , 2024 . OpenUrl CrossRef PubMed [7]. ↵ Zhen Fan , Runsheng Chen , and Xiaowei Chen . Spatialdb: a database for spatially resolved transcriptomes . Nucleic acids research , 48 ( D1 ): D233 – D237 , 2020 . OpenUrl CrossRef PubMed [8]. ↵ Guoliang Wang , Song Wu , Zhuang Xiong , Hongzhu Qu , Xiangdong Fang , and Yiming Bao . Crost: a comprehensive repository of spatial transcriptomics . Nucleic Acids Research , 52 ( D1 ): D882 – D890 , 2024 . OpenUrl CrossRef PubMed [9]. ↵ MOSAIC Consortium and Caroline Hoffmann . Mosaic: Intra-tumoral heterogeneity characterization through large-scale spatial and cell-resolved multi-omics profiling . bioRxiv , pages 2025 – 05 , 2025 . [10]. ↵ Bryan He , Ludvig Bergenstråhle , Linnea Stenbeck , Abubakar Abid , Alma Andersson , Åke Borg , Jonas Maaskola , Joakim Lundeberg , and James Zou . Integrating spatial gene expression and breast tumour morphology via deep learning . Nature biomedical engineering , 4 ( 8 ): 827 – 834 , 2020 . OpenUrl PubMed [11]. ↵ Ronald Xie , Kuan Pang , Sai Chung , Catia Perciani , Sonya MacParland , Bo Wang , and Gary Bader . Spatially resolved gene expression prediction from histology images via bi-modal contrastive learning . Advances in Neural Information Processing Systems , 36 : 70626 – 70637 , 2023 . OpenUrl [12]. ↵ Yuansong Zeng , Zhuoyi Wei , Weijiang Yu , Rui Yin , Yuchen Yuan , Bingling Li , Zhonghui Tang , Yutong Lu , and Yuedong Yang . Spatial transcriptomics prediction from histology jointly through transformer and graph neural networks . Briefings in Bioinformatics , 23 ( 5 ), 2022 . [13]. ↵ Yuran Jia , Junliang Liu , Li Chen , Tianyi Zhao , and Yadong Wang . Thitogene: a deep learning method for predicting spatial transcriptomics from histological images . Briefings in Bioinformatics , 25 ( 1 ), 2023 . [14]. ↵ Kalin Nonchev , Sebastian Dawo , Karina Silina , Holger Moch , Sonali Andani , Tumor Profiler Consortium , Viktor H Koelzer , and Gunnar Rätsch . Deepspot: Leveraging spatial context for enhanced spatial transcriptomics prediction from h&e images . medRxiv , pages 2025 – 02 , 2025 . [15]. ↵ Daiwei Zhang , Amelia Schroeder , Hanying Yan , Haochen Yang , Jian Hu , Michelle YY Lee , Kyung S Cho , Katalin Susztak , George X Xu , Michael D Feldman , et al. Inferring superresolution tissue architecture by integrating spatial transcriptomics with histology . Nature biotechnology , 42 ( 9 ): 1372 – 1377 , 2024 . OpenUrl CrossRef PubMed [16]. ↵ Shuailin Xue , Fangfang Zhu , Jinyu Chen , and Wenwen Min . Inferring single-cell resolution spatial gene expression via fusing spot-based spatial transcriptomics, location, and histology using gcn . Briefings in Bioinformatics , 26 ( 1 ), 2024 . [17]. ↵ Richard J Chen , Tong Ding , Ming Y Lu , Drew FK Williamson , Guillaume Jaume , Andrew H Song , Bowen Chen , Andrew Zhang , Daniel Shao , Muhammad Shaban , et al. Towards a generalpurpose foundation model for computational pathology . Nature medicine , 30 ( 3 ): 850 – 862 , 2024 . OpenUrl CrossRef PubMed [18]. ↵ Alexandre Filiot , Paul Jacob , Alice Mac Kain , and Charlie Saillard . Phikon-v2, a large and public feature extractor for biomarker prediction . arXiv preprint arXiv: 2409.09173 , 2024 . [19]. ↵ Charlie Saillard , Rodolphe Jenatton , Felipe Llinares-López, Zelda Mariet, David Cahané, Eric Durand, and Jean-Philippe Vert. H-optimus-0 , 2024 . URL https://github.com/bioptimus/releases/tree/main/models/h-optimus/v0 . [20]. ↵ Guillaume Jaume , Paul Doucet , Andrew Song , Ming Yang Lu , Cristina Almagro Pérez , Sophia Wagner , Anurag Vaidya , Richard Chen , Drew Williamson , Ahrong Kim , et al. Hest-1k: A dataset for spatial transcriptomics and histology image analysis . Advances in Neural Information Processing Systems , 37 : 53798 – 53833 , 2024 . OpenUrl [21]. ↵ Ioannis Gatopoulos , Nicolas Känzig , Roman Moser , Sebastian Otálora , et al. eva: Evaluation framework for pathology foundation models . In Medical Imaging with Deep Learning , 2024 . [22]. ↵ Daiwei Zhang , Amelia Schroeder , Hanying Yan , Haochen Yang , Jian Hu , Michelle Y. Y. Lee , Kyung S. Cho , Katalin Susztak , George X. Xu , Michael D. Feldman , Edward B. Lee , Emma E. Furth , Linghua Wang , and Mingyao Li . Inferring super-resolution tissue architecture by integrating spatial transcriptomics with histology . Nature Biotechnology , pages 1 – 6 , 2024 . [23]. ↵ Shuailin Xue , Fangfang Zhu , Jinyu Chen , and Wenwen Min . Inferring single-cell resolution spatial gene expression via fusing spot-based spatial transcriptomics, location, and histology using gcn . Briefings in Bioinformatics , 26 ( 1 ), 2025 . [24]. ↵ Manzil Zaheer , Satwik Kottur , Siamak Ravanbakhsh , Barnabas Poczos , Russ R Salakhutdinov , and Alexander J Smola . Deep sets . Advances in neural information processing systems , 30 , 2017 . [25]. ↵ Bruce Alberts , Dennis Bray , Karen Hopkin , Alexander D Johnson , Julian Lewis , Martin Raff , Keith Roberts , and Peter Walter . Essential cell biology. Garland Science , 2015 . [26]. ↵ Fabian Hörst , Moritz Rempe , Lukas Heine , Constantin Seibold , Julius Keyl , Giulia Baldini , Selma Ugurel , Jens Siveke , Barbara Grünwald , Jan Egger , and Jens Kleesiek . Cellvit: Vision transformers for precise cell segmentation and classification . Medical Image Analysis , 94 : 103143 , 2024 . URL https://www.sciencedirect.com/science/article/pii/S1361841524000689 . OpenUrl CrossRef PubMed [27]. ↵ Kalin Nonchev , Sonali Andani , Joanna Ficek-Pascual , Marta Nowak , Bettina Sobottka , Tumor Profiler Consortium , Viktor H Koelzer , and Gunnar Rätsch . Representation learning for multi-modal spatially resolved transcriptomics data . medRxiv , pages 2024 – 06 , 2024 . [28]. ↵ Amanda Janesick , Robert Shelansky , Andrew D. Gottscho , Florian Wagner , Stephen R. Williams , Morgane Rouault , Ghezal Beliakoff , Carolyn A. Morrison , Michelli F. Oliveira , Jordan T. Sicherman , Andrew Kohlway , Jawad Abousoud , Tingsheng Yu Drennon , Seayar H. Mohabbat , and Sarah E.B. Taylor . High resolution mapping of the tumor microenvironment using integrated single-cell, spatial and in situ analysis . Nature Communications 2023 14 : 1 , pages 1 – 15 , 2023 . OpenUrl [29]. ↵ 10x Genomics . Ffpe human breast using the entire sample area , 2023 . URL https://www.10xgenomics.com/datasets/ffpe-human-breast-using-the-entire-sample-area-1-standard . [30]. ↵ 10x Genomics . Ffpe human breast with pre-designed panel , 2023 . URL https://www.10xgenomics.com/datasets/ffpe-human-breast-with-pre-designed-panel-1-standard . [31]. ↵ 10x Genomics . Pancreatic cancer with xenium human multi-tissue and cancer panel , 2024 . URL https://www.10xgenomics.com/datasets/pancreatic-cancer-with-xenium-human-multi-tissue-and-cancer-panel-1-standard . [32]. ↵ 10x Genomics . Ffpe human pancreas with xenium multimodal cell segmentation , 2024 . URL https://www.10xgenomics.com/datasets/ffpe-human-pancreas-with-xenium-multimodal-cell-segmentation-1-standard . [33]. Annika Vannan , Ruqian Lyu , Arianna L. Williams , Nicholas M. Negretti , Evan D. Mee , Joseph Hirsh , Samuel Hirsh , David S. Nichols , Carla L. Calvi , Chase J. Taylor , Vasiliy. V. Polosukhin , Ana PM Serezani , A. Scott McCall , Jason J. Gokey , Heejung Shim , Lorraine B. Ware , Matthew J. Bacchetta , Ciara M. Shaver , Timothy S. Blackwell , Rajat Walia , Jennifer MS Sucre , Jonathan A. Kropski , Davis J McCarthy , and Nicholas E. Banovich . Image-based spatial transcriptomics identifies molecular niche dysregulation associated with distal lung remodeling in pulmonary fibrosis . bioRxiv , 2023 . [34]. ↵ Si-Jie Hao , Yuan Wan , Yi-Qiu Xia , Xin Zou , and Si-Yang Zheng . Size-based separation methods of circulating tumor cells . Advanced drug delivery reviews , 125 : 3 – 20 , 2018 . OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted October 22, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision Kalin Nonchev , Glib Manaiev , Viktor H Koelzer , Gunnar Rätsch bioRxiv 2025.09.23.678121; doi: https://doi.org/10.1101/2025.09.23.678121 Share This Article: Copy Citation Tools DeepSpot2Cell: Predicting Virtual Single-Cell Spatial Transcriptomics from H&E images using Spot-Level Supervision Kalin Nonchev , Glib Manaiev , Viktor H Koelzer , Gunnar Rätsch bioRxiv 2025.09.23.678121; doi: https://doi.org/10.1101/2025.09.23.678121 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Bioinformatics Subject Areas All Articles Animal Behavior and Cognition (7633) Biochemistry (17680) Bioengineering (13889) Bioinformatics (41927) Biophysics (21445) Cancer Biology (18585) Cell Biology (25491) Clinical Trials (138) Developmental Biology (13373) Ecology (19897) Epidemiology (2067) Evolutionary Biology (24308) Genetics (15606) Genomics (22494) Immunology (17736) Microbiology (40385) Molecular Biology (17175) Neuroscience (88583) Paleontology (666) Pathology (2830) Pharmacology and Toxicology (4822) Physiology (7641) Plant Biology (15149) Scientific Communication and Education (2045) Synthetic Biology (4293) Systems Biology (9822) Zoology (2271)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00