[
The article was written by Guanao Yan, Ph.D. student of Statistics and Data Science at UCLA. Guanao is the first author of the Nature Communications review article [1].
Spatially resolved transcriptomics (SRT) is revolutionizing Genomics by enabling the high-throughput measurement of gene expression whereas preserving spatial context. In contrast to single-cell RNA sequencing (scRNA-seq), which captures transcriptomes with out spatial location data, SRT permits researchers to map gene expression to specific places inside a tissue, offering insights into tissue group, mobile interactions, and spatially coordinated gene exercise. The rising quantity and complexity of SRT information necessitate the event of strong statistical and computational strategies, making this discipline extremely related to information scientists, statisticians, and machine studying (ML) professionals. Strategies corresponding to spatial statistics, graph-based fashions, and deep studying have been utilized to extract significant organic insights from these information.
A key step in SRT evaluation is the detection of spatially variable genes (SVGs)—genes whose expression varies non-randomly throughout spatial places. Figuring out SVGs is essential for characterizing tissue structure, practical gene modules, and mobile heterogeneity. Nonetheless, regardless of the fast growth of computational strategies for SVG detection, these strategies range extensively of their definitions and statistical frameworks, resulting in inconsistent outcomes and challenges in interpretation.
In our latest assessment printed in Nature Communications [1], we systematically examined 34 peer-reviewed SVG detection strategies and launched a classification framework that clarifies the organic significance of various SVG sorts. This text gives an outline of our findings, specializing in the three main classes of SVGs and the statistical rules underlying their detection.

SVG detection strategies purpose to uncover genes whose spatial expression displays organic patterns fairly than technical noise. Primarily based on our assessment of 34 peer-reviewed strategies, we categorize SVGs into three teams: General SVGs, Cell-Kind-Particular SVGs, and Spatial-Area-Marker SVGs (Determine 2).

Strategies for detecting the three SVG classes serve totally different functions (Fig. 3). First, the detection of general SVGs screens informative genes for downstream analyses, together with the identification of spatial domains and practical gene modules. Second, detecting cell-type-specific SVGs goals to disclose spatial variation inside a cell kind and assist determine distinct cell subpopulations or states inside cell sorts. Third, spatial-domain-marker SVG detection is used to search out marker genes to annotate and interpret spatial domains already detected. These markers assist perceive the molecular mechanisms underlying spatial domains and help in annotating tissue layers in different datasets.

The connection among the many three SVG classes is dependent upon the detection strategies, significantly the null and various hypotheses they make use of. If an general SVG detection methodology makes use of the null speculation {that a} non-SVG’s expression is impartial of spatial location and the choice speculation that any deviation from this independence signifies an SVG, then its SVGs ought to theoretically embrace each cell-type-specific SVGs and spatial-domain-marker SVGs. For instance, DESpace [2] is a technique that detects each general SVGs and spatial-domain-marker SVGs, and its detected general SVGs should be marker genes for some spatial domains. This inclusion relationship holds true besides in excessive situations, corresponding to when a gene displays reverse cell-type-specific spatial patterns that successfully cancel one another out. Nonetheless, if an general SVG detection methodology’s various speculation is outlined for a particular spatial expression sample, then its SVGs might not embrace some cell-type-specific SVGs or spatial-domain-marker SVGs.
To know how SVGs are detected, we categorized the statistical approaches into three main sorts of speculation assessments:
- Dependence Take a look at – Examines the dependence between a gene’s expression stage and the spatial location.
- Regression Fastened-Impact Take a look at – Examines whether or not some or the entire fixed-effect covariates, for example, spatial location, contribute to the imply of the response variable, i.e., a gene’s expression.
- Regression Random-Impact Take a look at (Variance Part Take a look at) – Examines whether or not the random-effect covariates, for example, spatial location, contribute to the variance of the response variable, i.e., a gene’s expression.
To additional clarify how these assessments are used for SVG detection, we denote Y as gene’s expression stage and S because the spatial places. Dependence take a look at is probably the most common speculation take a look at for SVG detection. For a given gene, it decides whether or not the gene’s expression stage Y is impartial of the spatial location S, i.e., the null speculation is:

There are two sorts of regression assessments: fixed-effect assessments, the place the impact of the spatial location is assumed to be mounted, and random-effect assessments, which assume the impact of the spatial location as random. To elucidate these two sorts of assessments, we use a linear blended mannequin for a given gene for example:

the place the response variable ( Y_i ) is the gene’s expression stage at spot ( i ), ( x_i ) ( epsilon ) ( R^p ) signifies the fixed-effect covariates of spot ( i ), ( z_i ) ( epsilon ) ( R^q ) denotes the random-effect covariates of spot ( i ), and ( epsilon_i ) is the random measurement error at spot ( i ) with zero imply. Within the mannequin parameters, ( beta_0 ) is the (mounted) intercept, ( beta ) ( epsilon ) ( R^p ) signifies the mounted results, and ( gamma ) ( epsilon ) ( R^q ) denotes the random results with zero means and the covariance matrix:

On this linear blended mannequin, independence is assumed between random impact and random errors and amongst random errors.
Fastened-effect assessments look at whether or not some or the entire fixed-effect covariates ( x_i ) (depending on spatial places S) contribute to the imply of the response variable. If all fixed-effect covariates make no contribution, then:

The null speculation

implies

Random-effect assessments look at whether or not the random-effect covariates ( z_i ) (depending on spatial places S) contribute to the variance of the response variable VarYi, specializing in the decomposition:

and testing if the contribution of the random-effect covariates is zero. The null speculation:

implies

Among the many 23 strategies that use frequentist speculation assessments, dependence assessments and random-effect regression assessments have been primarily utilized to detect general SVGs, whereas fixed-effect regression assessments have been used throughout all three SVG classes. Understanding these distinctions is essential to deciding on the proper methodology for particular analysis questions.
Enhancing SVG detection strategies requires balancing detection energy, specificity, and scalability whereas addressing key challenges in spatial transcriptomics evaluation. Future developments ought to concentrate on adapting strategies to totally different SRT applied sciences and tissue sorts, in addition to extending help for multi-sample SRT information to reinforce organic insights. Moreover, strengthening statistical rigor and validation frameworks can be essential for making certain the reliability of SVG detection. Benchmarking research additionally want refinement, with clearer analysis metrics and standardized datasets to offer sturdy methodology comparisons.
References
[1] Yan, G., Hua, S.H. & Li, J.J. (2025). Categorization of 34 computational strategies to detect spatially variable genes from spatially resolved transcriptomics information. Nature Communication, 16, 1141. https://doi.org/10.1038/s41467-025-56080-w
[2] Cai, P., Robinson, M. D., & Tiberi, S. (2024). DESpace: spatially variable gene detection by way of differential expression testing of spatial clusters. Bioinformatics, 40(2). https://doi.org/10.1093/bioinformatics/btae027
]