Significance
A comprehensive understanding of the spatial organization and differentiation of the mammalian brain requires interpreting 3D structural and molecular information in biologically plausible ways. At the moment, reliable computational methods and workflows are still lacking for reproducible analysis of gene expression data that incorporates existing domain knowledge of the brain structure. In this work, we combined stability-driven nonnegative matrix factorization with spatial correlation analysis to analyze the 3D spatial gene expression of the entire adult mouse brain. Our approach connects data-driven methods with spatial domain knowledge, revealing a gene expression-defined anatomical ontology and interpretable region-specific genetic architecture captured by the marker genes and spatial coexpression networks.
Keywords: spatial gene expression, unsupervised learning, brain ontology
Abstract
The rapid growth of large-scale spatial gene expression data demands efficient and reliable computational tools to extract major trends of gene expression in their native spatial context. Here, we used stability-driven unsupervised learning (i.e., staNMF) to identify principal patterns (PPs) of 3D gene expression profiles and understand spatial gene distribution and anatomical localization at the whole mouse brain level. Our subsequent spatial correlation analysis systematically compared the PPs to known anatomical regions and ontology from the Allen Mouse Brain Atlas using spatial neighborhoods. We demonstrate that our stable and spatially coherent PPs, whose linear combinations accurately approximate the spatial gene data, are highly correlated with combinations of expert-annotated brain regions. These PPs yield a brain ontology based purely on spatial gene expression. Our PP identification approach outperforms principal component analysis and typical clustering algorithms on the same task. Moreover, we show that the stable PPs reveal marked regional imbalance of brainwide genetic architecture, leading to region-specific marker genes and gene coexpression networks. Our findings highlight the advantages of stability-driven machine learning for plausible biological discovery from dense spatial gene expression data, streamlining tasks that are infeasible by conventional manual approaches.
In the past decade, unsupervised explorations of large-scale single-cell transcriptomics datasets enabled by machine learning tools led to an unbiased definition of cell types—groups of cells with similar gene expression patterns (1–5). Traditionally, genetic profiling requires cell isolation that discards the spatial information of cells within tissues or organs. Spatially resolved techniques preserve the spatial information which are crucial for understanding cell function and tissue organization (6–8). Spatial patterns may correlate with specific cell types or cell type combinations and reflect local tissue characteristics in structure and function. To accommodate their growing popularity and data throughput, computational pipelines also need to incorporate spatial information in interpreting the outcome. Spatially aware analytical tools apply to both healthy and diseased tissues and may help elucidate gene and organ functions and generate viable hypotheses for disease mechanisms (9–13) in the spatial domain.
A core element of biospatial information is the anatomical atlas of an organ, which is defined by expert annotation based on accumulated historical data. Brain atlases (14, 15) are comparable across individuals and species, facilitating cross-referencing and analysis of neural data in a consistent manner. For the adult mouse brain, the Allen Common Coordinate Framework (CCFv3) is a widely used atlas and ontology (hierarchical relations between parts of the atlas) built on the Allen Mouse Brain Atlas (ABA) (16). Yet its construction is time-intensive, hard to scale, and potentially affected by human judgment. Data-driven approaches can mitigate human error, streamline the process, and uncover information hard to perceive by the human eye (17).
Currently, segmentation and clustering are the two main categories of machine learning approaches in the analysis of spatial gene expression data (17–31). While these methods yield a set of spatially nonoverlapping or, in some cases, overlapping regions, the problem formulation focuses on local information and does not explicitly model the global structure of the entire gene expression data. By contrast, matrix decomposition techniques such as non-negative matrix factorization (NMF) (32–34) provide a model-based representation of an entire dataset as a combination of a set of dictionary elements or principal patterns (PPs) (18, 35–40). These models could reduce complex spatial patterns into a combination of PPs, which provide a more interpretable representation of each data point compared to segmentation or clustering. However, the simplest matrix decomposition model, principal component analysis (PCA), despite its frequent usage (41–43), is not a sensible choice because biologically realistic assumptions, such as non-negativity, are unmet. NMF and its variants include non-negativity as an explicit constraint in the problem formulation, leading to a more biologically plausible outcome (36), with relevant applications in the analysis of gene expression (18, 35, 37, 44), neural recordings (38, 39), etc.
More importantly, we used stability-driven NMF (staNMF) algorithm (18) to incorporate stability as the central criterion in model selection to analyze spatial gene expression datasets of the adult mouse brain. Stability is a measure of scientific reproducibility and statistical robustness (45). It asks whether each step of the pipeline produces consistent results when subject to slight perturbations in the model or data (46, 47). Validating stability is also a central aspect of the veridical data science framework that introduces perturbation into the modeling pipeline as stability assessment at various stages, from data to model to inference. In scientific machine learning, stability is a minimum requirement for interpretability (45, 47) and, in the current context, essential for identifying biologically meaningful and coherent spatial patterns in the mouse brain (48). Previous work has demonstrated the promise of staNMF in interpreting 2D spatial gene expression images from Drosophila embryos (18). Here, we extend the analysis to 3D and, by spatial correlation analysis with an existing brain atlas (16), found that the PPs are clearly localized in single or combinations of anatomical regions, which suggests a gene expression-defined ontology beyond the one from neuroanatomy. Moreover, our analysis reveals a marked regional imbalance of gene expression, with the hippocampus having the most diverse gene expression than others, followed by the isocortex and the cerebellar regions. We recover the spatial genetic architecture using the spatial organization and correlation structure of the gene expression, which reveals region-specific marker genes as well as putative spatial gene coexpression networks (sGCNs) spanning the entire mouse brain.
Results
Identifying Stable PPs in the Allen Mouse Brain Atlas.
We used the staNMF (13, 30) framework to extract PPs in the spatial gene expression data with additional pre- and postprocessing steps for data preparation, quality assessment, and to derive biological insights (Fig. 1A). PPs or the latent factors that optimally capture data variability are extracted using stability analysis to ensure the reproducibility of the PPs (referred to as stable PPs). The analysis evaluates an instability score, here defined as the average dissimilarity of all learned dictionary pairs using their cross-correlation matrix. We use the Hungarian matching method (49) (Fig. 1B) or an Amari-type error function (50) (SI Appendix, Fig. S1) to account for the invariances (Materials and Methods). Overall, staNMF yields two outputs: 1) K PPs for the whole imaging data, and 2) the coefficients or PP weights for each gene expression image. The model reconstructs each 3D gene expression profile by a non-negative linear combination of the PPs. Each PP is calculated after model training as one of K dictionary elements learned via staNMF. The weights of a PP or dictionary element for each gene are determined by the coefficients of staNMF. Our end-to-end pipeline is computationally efficient and can handle large datasets generated in modern spatially resolved sequencing techniques (8, 48).
We used the pipeline to determine the PPs for 4,345 3D spatial gene expression profiles in the adult mouse brain (56 d old) from the ABA dataset (48), where each gene was examined by whole-brain serial sectioning and RNA in situ hybridization (ISH) at 200 µm isotropic resolution. The preprocessing step uses a kNN-based voxel imputation to fill in approximately 10% missing voxel data in ABA. On a hold-out test set of 1,000 random voxels for each of the 4,345 genes from the ABA dataset (for 4,435,000 total hold-out data points), the mean error was smaller than 0.01. The Pearson correlation coefficient (PCC) between the measured and imputed gene expression data was 0.52, with a P-value < 0.01. To determine stable PPs, we calculated the instability score with 100 runs of the same algorithm across a range of 8 to 30 possible numbers of PPs. The lowest instability (and thus highest stability) was found when K = 11, with an instability score of 0.020 ± 0.002 (1 is the maximum instability) for the Hungarian matching method (49). The settings when K = 13 and K = 12 have the next two lowest instability scores (0.03 and 0.04, respectively, with SD < 0.01).
To assess the performance and stability of our approach, we first compared the outcome of staNMF with PCA (Fig. 1B). To quantify the stability of each method in identifying PPs, we performed data perturbation by bootstrapping (Materials and Methods). We found that staNMF PPs have higher stability and lower SD compared to PCA PPs (0.25 ± 0.01) at every value of tested. In terms of computational runtime, staNMF takes longer to run than PCA, though both are fast-running models. On a 2021 MacBook Pro M1 laptop CPU, where the computation was tested, it takes 26 s to run staNMF to create one set of PPs on the ABA dataset vs. 4 s for PCA.
Another important aspect to evaluate is the spatial coherence of PPs, which is important for their biological interpretability. To this end, we used Moran’s (42, 51–53), which ranges in value from –1 to 1, as a global summary statistic (Fig. 1C). A value close to −1 indicates little spatial organization, whereas a value close to 1 indicates a clear spatially distinct pattern. The average Moran’s for staNMF PPs is 0.58 ± 0.12, which is considerably higher than that of PCA at 0.47 ± 0.15 (P-value < 0.001) across 20 bootstrap simulations for each of the 11 PPs (Fig. 1D and SI Appendix, Fig. S2). This suggests a stronger spatial separation and coherence of PPs obtained from staNMF than those from PCA (SI Appendix, Fig. S3A for visualization of PCA PPs). We want to point out that although staNMF PPs are spatially coherent, a large number of PPs tend to be present in most gene expression profiles (58% of all genes are represented in nine or more PPs), suggesting the spatial heterogeneity of gene expression in the adult mouse brain (Fig. 1E). Only two genes are represented in a single PP (<0.1% of all 4,345 genes), while 438 genes are represented in all 11 PPs (10.1% of all genes).
Additionally, we compared the staNMF and PCA reconstruction accuracy in a scatterplot (Fig. 1F), where each point represents one of the 4,345 genes in the dataset. We defined the reconstruction accuracy as the PCC between the reconstructed and the original gene expression image. Fig. 1F shows that staNMF considerably outperforms PCA in the reconstruction performance (0.62 ± 0.22 for staNMF compared to 0.37 ± 0.37 for PCA; 24% higher accuracy for staNMF). We also found that our kNN imputation of missing values improves staNMF’s reconstruction accuracy of the original dataset from 0.59 to 0.62. It is worth noting that the reconstruction accuracy slightly increases with a higher value of (e.g., reconstruction accuracy is 0.69 for K = 30). However, the instability score tends to decrease significantly for higher values of (e.g., instability score for K = 30 is 0.14 vs. 0.02 at K = 11, which is roughly 7× higher). These findings indicate that staNMF outperforms PCA in automatically generating biologically relevant patterns from spatial gene expression profiles.
Gene Expression–Defined Ontology from Stable PPs.
To draw connections between the PPs of gene expression and the mouse brain atlas, we investigated their overlap using spatial correlation analysis (Materials and Methods). Inspired by recent work on data integration in geoinformatics (54), we formulated the task as spatial entity linking between our PPs and the CCF as the knowledge base (55). We first calculated the PCC between all 868 expert-annotated brain regions (CCFv3) (16) to each of the staNMF PPs. We visualize 66 of the 868 regions in Fig. 2 to facilitate the comparison. These 66 regions provide a complete medium-level representation of the mouse brain CCF. They are selected by including all “child” regions for the 12 coarse CCF regions (isocortex, olfactory areas, hippocampal formation, cortical subplate, striatum, pallidum, thalamus, hypothalamus, midbrain, pons, medulla, and cerebellar cortex/nuclei). In this paper, we define “coarse-level” regions as these 12 CCF regions, “medium-level” regions as their 66 children, and “fine-level” regions as all regions that are finer than medium-level.
We found that the gene expression-defined PPs from staNMF have similarities, as quantified by the Pearson correlation (Fig. 2) and Dice similarity (SI Appendix, Fig. S4), to the CCF ontology, but also major differences. The key signatures are consistent between the results from the two distinct similarity metrics. Three PPs (PPs 1 to 3) are well, yet in many cases, differentially correlated with selected parts of the isocortex: They all have correlations with the somatosensory areas of the isocortex, in addition to differential correlation with other cortical areas (e.g., somatomotor, visual, and orbital areas of the isocortex). Interestingly, PPs 1 to 3 also have varying representations outside of the isocortex, including in the olfactory areas, hippocampal formation, and cortical subplate, which are each viewed as part of the cerebral cortex (16). PP4 is mostly represented within the olfactory areas, especially the main olfactory bulb and orbitofrontal areas of the isocortex. PP5 has a strong correlation to hippocampal formation and, to some extent, to subregions within the isocortex, olfactory areas, and cortical subplate. Thus, we see that PPs 1 to 5 correlate with the cerebral cortex, one of the three highest-level CCF regions (in addition to the brainstem and cerebellum), but do not fit neatly within the coarse- or medium-level CCF regions.
Moving next to PP6, we found a considerably high correlation between that and the striatum with minor expression in the cortical subplate. PP7 exhibits a high correlation only to the thalamus, showing good agreement with CCF’s thalamus in the overall ontology. Unlike PP7, PP8 is spread across multiple regions, especially the hypothalamus, midbrain, striatum, pallidum, and cortical subplate (in descending correlation), which suggests that these CCF regions share gene expression patterns. Similarly, PP9 is highly correlated with multiple regions in the brainstem areas including the medulla, midbrain, and pons, as well as a minor expression in cerebellar nuclei. PP10 is highly correlated with the cerebellum, with major expression in cerebellar vermal and hemispheric regions but not in the cerebellar nuclei. A comparison between PP9 and PP10 suggests that there are significant gene expression differences between the cerebellar nuclei and the vernal/hemispheric regions of the cerebellum. Genes that are expressed in cerebellar nuclei tend to also be expressed in the brainstem areas while genes that are expressed in cerebellar vernal/hemispheric regions tend to be exclusively present in the cerebellum. PP11 is correlated to most CCF regions and visual inspection (Fig. 1C) suggests that it corresponds to the noisy gene expression profiles throughout the brain.
Besides examining the one-to-one relation between CCF ontology and PPs, we asked which combination of CCF regions is best aligned with each PP. To answer this question, we ran a spatial neighborhood query of combinations of 2 or 3 adjacent CCF regions (Materials and Methods). From a total of 868 CCF regions, we found 22,711 binary combinations and 1,834,540 ternary combinations that are spatially contiguous. We did not consider higher-order combinations due to the exponentially growing search space. We then identified the maximum PCC between each PP and the superset of all single CCF regions, all combinations of 2 CCF regions, and all combinations of 3 CCF regions. We found that the PPs tend to align with combinations of the coarse, medium, and/or fine CCF regions, but these combinations may exhibit different ontology than CCF (Fig. 3A):
-
(i)
PPs 1 to 3 have their highest correlation to combinations of three CCF regions (PCC = 0.73, 0.71, and 0.63, respectively), which includes the isocortex. In addition to isocortex, PP1 adds the anterior olfactory nucleus and the olfactory piriform area, PP2 adds two finer-level retrohippocampal regions including the subiculum and the fine-level layer 6a of the lateral entorhinal area (ENTl6a), and PP3 adds the olfactory piriform area and the entorhinal area (ENT) of the retrohippocampal region.
-
(ii)
PP4 has its highest correlation (PCC = 0.78) with the combination of olfactory bulb and accessory olfactory bulb with a fine-level cortical region (Orbital area, ventrolateral part, layer 1, referred to as ORBvl1).
-
(iii)
PP5 is maximally correlated with a combination of two medium-level regions from hippocampal formation (hippocampal region and ENTl), and the high-level cortical subplate region.
-
(iv)
PP6 has its highest correlation (PCC = 0.89) to a combination of three CCF regions: 1) striatum: dorsal region; 2) striatum: nucleus accumbens; and 3) striatum: olfactory tubercle. PP6 does not include the striatum: amygdalar nuclei. Instead, the combination of the hypothalamus, amygdalar nuclei, and midbrain is maximally correlated to PP8. Single-cell gene expression research has suggested that the amygdalar nucleus, midbrain, and hypothalamus contain cell types that are in fact highly related (56).
-
(v)
PP7 and PP10 are the only PPs that are each maximally correlated with only one single CCF region: PP7 is primarily mapped to the thalamus (PCC = 0.88), while PP10 is primarily mapped to the cerebellar cortex (PCC = 0.92).
-
(vi)
PP9 is maximally correlated with the combination of hindbrain, midbrain, and cerebellar nuclei (PCC = 0.84). It organizes the midbrain and hindbrain together, and suggests a relatively high similarity of gene expression between the midbrain, medulla, and pons, as observed with single-cell transcriptomics and clustering (56).
These observations indicate that the PPs from the spatial gene expression partition the mouse brain differently from the CCF, suggesting a distinct ontology. We verify the uniqueness of the partitions by examining the correlation matrix between all PPs and their associated CCF combinations (Fig. 3B). Most PPs (except PPs 1 to 3, and 11) exclusively map to their associated CCF region combinations, suggesting low overlap between these PPs. The average maximum correlation coefficient between PPs and their respective CCF region combination is 0.74 ± 0.04. By contrast, the average correlation coefficient between each PP and the CCF region combinations is 0.10 ± 0.17, except for its highest correlation region. PP11 has the lowest maximum correlation coefficient (0.37 vs. 0.60 as the next lowest) to other CCF regions, further suggesting its role in accounting for the noise in gene expression profiles. The outcome of entity linking (55) through spatial correlation analysis facilitates the construction of a gene expression-defined ontology based purely on spatial gene expression data (SI Appendix, Fig. S5).
Subsequently, we conducted a similar analysis using the outcomes from common methodologies used in the segmentation and clustering of spatial gene expression data. staNMF PPs have a higher average correlation coefficient to their respective CCF regions (0.73 ± 0.05) compared to PCA PPs (0.63 ± 0.06). Furthermore, the stronger diagonal pattern in the correlation matrix for staNMF (Fig. 3B) compared to PCA (SI Appendix, Fig. S3B) suggests that staNMF PPs have a better alignment with the annotated brain regions. Additionally, we conducted the same spatial correlation analysis on PPs from typical clustering techniques. We clustered the ABA dataset using 1) PCA followed by k-means clustering [similar to the stLearn framework (57)], 2) PCA followed by agglomerative hierarchical clustering [similar to the AGEA framework (17)], and 3) staNMF followed by hierarchical clustering as a point of comparison (Fig. 3C). staNMF has the most similar PPs to their optimal CCF regions (PCC = 0.73±0.05), whereas PCA, PCA followed by k-means, and PCA followed by hierarchical clustering produce PPs less resembling CCF regions (PCC = 0.63 ± 0.06, 0.68 ± 0.06, and 0.70 ± 0.06, respectively). Additionally, staNMF PPs have a higher similarity to CCF region combinations compared to staNMF followed by hierarchical clustering (PCC = 0.67 ± 0.05). The comparison demonstrates that the PPs from staNMF alone are more similar to the combinations of known brain regions compared to PCA or standard clustering approaches.
Substructures of the Mouse Isocortex in PPs.
The mouse isocortex is a layered structure (58) with gene expression gradients along the anteroposterior and mediolateral axes (5). This information, subject to the limit of data resolution, is also reflected in the PPs 1 to 3. We observe that for each of these PPs, the correlation coefficient to the isocortex dominates that to the other regions (Fig. 4A). For example, PP2 has a correlation coefficient of 0.70 to the isocortex, but only 0.13 and 0.08 to other two regions that make up its highest correlated combination. Similarly, PPs 2 and 3 have correlation coefficients of 0.70 and 0.54 to the isocortex, respectively, while their correlation coefficients to other regions are considerably lower (Fig. 4A). Visualization of these three PPs suggests that they represent different spatial regions of the isocortex, in addition to minor components of the hippocampus and olfactory areas (Fig. 4B). Anatomically, PP1 represents the superficial layers in the frontal areas of the cortex, in addition to a partial representation of the anterior olfactory nucleus and the piriform area of the olfactory areas. PP2 represents the deeper layers of the isocortex in dorsolateral regions and has a minor correlation to the subiculum and entorhinal area (lateral part, layer 6a) within the retrohippocampal region. PP3 represents the superficial layers of the isocortex in dorsal regions as well as the piriform area of the olfactory areas and the entorhinal area of the retrohippocampal region. PP1 and PP3 have a gradual overlap in superficial layers, as indicated by the cyan color in Fig. 4B.
We investigated how effectively the combination of PPs 1 to 3 can recreate the isocortex alone by training a logistic regression model to predict the isocortex CCF reference map from PPs 1 to 3. The area under the receiver operating characteristic (ROC) curve or AUC measure for the prediction is 0.99. The regression model is the most accurate model among 1,000 other models that uses a random selection of three PPs to predict isocortex (Fig. 4C). The median AUC for these 1,000 models is 0.78 (compared to 0.99 for the model that uses PPs 1 to 3, as shown in the magenta vertical dashed line), demonstrating that they represent the isocortex as a whole.
From PPs to Marker Genes.
Marker genes for an organ or tissue region are a set of genes with high expression within that region and relatively low expression in other regions. These genes are frequently used as starting points for understanding functions of cells and their local organization and to design genetic tools for experimental access to those cell types and regions for further knockout studies (59, 60). Given the relationship between PPs and brain regions established previously, one can robustly identify region-specific marker genes using the contributions of genes to the PPs. We visualize in Fig. 5A the gene-resolved coefficients () for each PP, where the genes are first ordered by the PP with the highest coefficient and then by their corresponding importance scores, . The total number of genes selected by the PPs is not uniform across the board (Fig. 5B). Noticeably, PP5 (correlated with the hippocampal region) has by far the most unique genes, with over 1,500 genes. PP2 (correlated with the isocortex), PP9 (correlated with the hindbrain), and PP10 (correlated with the cerebellar cortex) also have an especially large number of associated genes (represented by darker orange and red in the heatmap).
Drawing from these observations and the previous work on Drosophila embryos (18), we used the following procedure to identify the marker genes for each PP: We first extracted the staNMF coefficients, , for the jth gene. Each gene-resolved coefficient quantifies the contribution of the th PP in explaining the expression of the th gene. We then assigned each gene to a specific PP with the highest coefficient. Next, we calculated the importance score for the jth gene to obtain the PP-level marker genes. The top three genes with the highest importance scores for each PP are visualized in Fig. 5C, which shows convincing visual alignment with the corresponding brain regions. More importantly, we found that the regional designation of marker genes in the mouse brain has biological relevance. For example, Prox1, the top-ranked marker gene obtained using the procedure for PP5 (associated with hippocampal formation and cortical subplate), is known to be widely expressed across the brain during development, but primarily in the hippocampus and cerebellum in adulthood (61). As another example, Gabra6, the top-ranked marker gene for PP10 (associated with the cerebellar cortex) is known to be preferentially expressed in the cerebellum as part of a program related to differentiation (62). Furthermore, we compared the PP-level marker genes found using the ranking procedure described here with the cell type-specific marker genes in the same region from a more recent scRNA-seq dataset (56). The results, summarized in SI Appendix, Table S1, confirm that despite the different spatial resolution and sequencing measurements, there exists a significant overlap between the region-specific marker genes. The single-cell level measurements also provide complementary information on the cell type identities to the PPs.
From PPs to sGCNs.
It is known that the spatial coexpression of genes yields meaningful biological relationships (63, 64). For example, an sGCN has successfully reconstructed the gap gene regulatory network in Drosophila (18). However, few existing computational tools incorporate spatial information in identifying gene coexpression networks, and the ones that do only leverage existing expert-defined ontologies (65–68). Data-driven ontologies from tools like staNMF will allow better identification and exploration of 3D spatial gene networks.
Building on a similar analysis for Drosophila embryos (18), we used a similar procedure to construct putative sGCNs for the PPs in the adult mouse brain. Our analysis selected 10 or 11 top-ranked genes for each PP to construct the putative sGCNs (Fig. 6 for PPs 1 to 7, and SI Appendix, Fig. S6 for the remaining PPs). Interestingly, some of the regulatory relationships that are recently found via experimental research are present in the sGCNs. For example, in PP6, which is correlated to the striatum, seven selected genes show especially strong edges (Gprin3, CD4, Gpr6, Ric8b, Rgs9, Serpina9, and Gm261) and seem to form a hub of connections. Interestingly, a 2019 experimental study in mice found that Gprin3 controls striatal neuronal phenotypes including excitability and morphology, as well as behaviors dependent on the striatal indirect pathway and mediates G-protein-coupled receptor (GPCR) signaling (69). Gpr6 is a GPCR gene, and Rgs9 and Ric8b are regulators of GPCR genes. In addition, Gm261 and Serpina9 are known to impact synapse development. In addition, Prox1 and PKP2 appear as interactions in PP5, which is related to hippocampal formation. Interestingly, a recently published experimental study has identified Prox1 as a transcription factor associated with PKP2 expression (70). These relationships could be used as leads for experimental validation when studying specific genes in their tissue context.
Discussion
Unsupervised matrix factorization models are powerful machine learning tools for exploratory data analysis in spatial transcriptomics. Combining accurate unsupervised models with stable learning improves the interpretability of the resulting spatial patterns (i.e., PPs), as we have shown using staNMF in the present work. Our pipeline can automatically find consistent gene expression-defined spatial regions in 3D without supervision, eliminating the need for manual annotation. We point out here that anatomical atlases such as the ABA (16) are constructed by dividing the brain volume into spatially contiguous regions without overlap. However, at the tissue or cellular level, this idealization is not always satisfied and the strict division should be regarded as an approximation. Gene expression-defined PPs provide an automated way to explore whole-brain data with simplistic, spatially coherent regions that retain meaningful connections to the expert-annotated anatomical atlas.
Despite the limited spatial resolution, our analysis of the current dataset encompassing the entire adult mouse brain reveals promising marker genes with region specificity for future investigations in controlled experiments. As biological processes occur in 3D space and time, analysis of the coexpression network is inherently more reliable with data from 3D gene expression. The specific sets of genes and their spatial coexpression that contribute to PPs are also likely to contribute to the unique functions of brain regions they delineate. Those genes or their combinations identified through spatial correlation analysis will be highly informative for designing genetic toolkits to experimentally access specific cell types and spatial domains within the organ of interest (71, 72). When combined with developmental data, these biological insights may help understand the longitudinal evolution of region-dependent gene expression to uncover signatures and functions hard to decipher from traditional transcriptomic methods without spatial information. Although the putative sGCNs identified here still need to be validated in controlled experiments, they may be linked to regulatory interactions, such as hub genes which are likely to mediate communication between networks, and to relationships between genes and gene modules. Our data-driven gene network representation might also be useful for studying disease processes such as selective vulnerability of certain regions to spread of pathogenic proteins in the brain (73). Through integration with scRNA-seq datasets (56), these networks can be used to study the cell-type specificity of spatial interactions between genes and find cell-type-specific gene networks. The computational pipeline in the present work leverages the linear relationship between PPs to identify gene networks. Future work could incorporate nonlinear interactions using supervised methods such as iterative random forest (74) to uncover complex gene interactions at the scale of the mouse brain.
Moreover, the availability of many different modalities for whole-organ imaging (6, 7) highlights the need for computational method developments along this direction. These methods would not only avoid human labor but are also more likely to be informative for investigating the functions of these regions. Besides gene expression data, the staNMF is also applicable to a broad range of biological data and may be used in multimodal data integration by combining learned representations. Potential future work will include integration with other modalities such as MRI and axonal projections to precisely characterize finer brain regions (58, 75). The computational efficiency of staNMF can be further improved to accommodate large datasets by exploiting the block structure of the data matrix or to use hierarchical updating schemes. The spatial neighborhood query in our computational pipeline may be upgraded into a discrete tree search to accommodate the existing brain ontology to explore higher-order combinations of brain regions. It is worthwhile to incorporate similar stability analysis in existing region-constrained matrix factorization models (39, 40) to assess the changes in the outcome. We are hopeful that the three principles for data science: predictability, computability, and stability (PCS) (47) for veridical data science, as illustrated here, will be implemented in more case studies to improve the reproducibility of data-driven scientific discovery.
Materials and Methods
Data Description and Preprocessing.
The primary dataset used in our study is the ISH measurements from 4,345 genes at 200 µm isotropic resolution (a matrix size of 67 × 41 × 58 for each gene expression image) from the adult mouse brain at 56 d postnatal (48). The data were collected at the Allen Institute for Brain Science and are publicly available under the Allen Brain Atlas (ABA) (https://mouse.brain-map.org/), as previously described (48). An API enables the download of the data at http://help.brain-map.org/display/mousebrain/API. The Allen Mouse Brain Common Coordinate Framework (CCF) was used as the 3D reference atlas (16). We used CCFv3 publicly available at http://help.brain-map.org/display/mousebrain/api, which consists of parcellations of the entire mouse brain in 3D and at 10 μm voxel resolution. The CCF provides labeling for every voxel with a brain structure spanning 43 isocortical areas and their layers, 329 subcortical gray matter structures, 81 fiber tracts, and 8 ventricular structures. The methods for constructing the CCF dataset are previously described in detail (16).
During preprocessing, we imputed missing voxels in the gene expression data using a k-nearest neighbors algorithm (76) with six neighbors. To test the efficacy, we calculated the accuracy on a hold-out test set of 1,000 random voxels for each of the 4,345 genes from the ABA dataset (for a total of 4,435,000 data points). Following data imputation, we created a brain mask representing all the voxels of the mouse brain using the CCF which results in 55,954 voxels, vs. the total cube array of 159,326 voxels, reducing the number of voxels used for subsequent analysis by roughly two-thirds. Once the analysis was run, we unmasked the analysis outcomes and transformed the data back to the original shape (67 × 41 × 58). The data processing uses the codebase osNMF (https://github.com/abbasilab/osNMF), short for ontology discovery via staNMF.
The staNMF Framework.
NMF (32–34) decomposes the data matrix into dictionary elements and associated coefficients, resulting in parts-based representations of the original data. Stability-driven NMF (staNMF) (18) is a model selection method that helps determine through stability analysis. Here, we apply staNMF to the 3D gene expression data collected in the adult mouse brain as a key step in the computational pipeline (Fig. 1A). Following the staNMF processing pipeline, we first transformed the imputed data into a matrix of voxels by genes (of size 55,954 by 4,345). The voxels were then masked to leave out only those in the brain as previously described. The voxel-by-gene matrix is the input of the NMF algorithm, which factorizes the gene data matrix into PPs. Formally, let , be a data matrix, where v is the number of unique voxels and is the number of genes represented. Let , be a matrix, representing a dictionary with elements or atoms (columns of ), and , be a matrix, representing the coefficient matrix. Under the current problem setting, NMF aims to minimize the loss function
subjecting to non-negativity conditions , . The subscript F indicates the Frobenius norm. We used the scikit-learn (77) implementation of NMF with default settings of the tolerance of the stopping condition (tol = 0.0001) and the maximum number of iterations (max_iter = 200). The staNMF is trained using coordinate descent (solver = “cd”), which alternately optimizes the and matrices and is frequently used for NMF (78).
The stability analysis for NMF selects the parameter computationally using an instability score. The NMF implementation used in the prior work (18) adopted an online learning algorithm, which merged the perturbations on the initialization and the data. The scikit-learn implementation of NMF decouples the two steps and uses a stable initialization method (79). Therefore, we used a fixed initial condition and performed data bootstrap for stability analysis. Specifically, we ran the NMF algorithm N = 100 times at each integer value of from 8 to 30. Each run uses a different random seed to bootstrap sample the data. For each , we compute an instability score that is the dissimilarity of learned dictionary pairs (D and D′) averaged over runs. According to this definition, the optimal choice of would result in highly stable dictionaries by data bootstrap. The dissimilarity (dsim) is formulated using the cross-correlation (xcorr) matrix, , between each dictionary pair and requires accounting for the scaling and permutation invariance of the learned dictionary elements (33, 80). Cross-correlation directly accounts for the scaling invariance between dictionaries in its normalization factor. To account for permutation invariance, we chose two distinct ways: The first way is to solve an assignment problem for the columns of D and D′ beforehand using the Hungarian matching (HM) method (49), followed by calculation of the dissimilarity score,
where indicates assigned index pairs of D and D′ ( index pairs in total), and the HM superscript indicates the cross-correlation matrix C’ calculated after applying the HM method. The second way is to account for the permutation invariance directly in the formulation of the dissimilarity metric using an Amari-type error function (50),
In either definition, the dissimilarity metrics are aggregated into the instability score using a simple average over distinct pairs (18),
Stability analysis using either construction of the instability score yields the same result () for the most stable number of PPs (Fig. 1B and SI Appendix, Fig. S1). While is on the order of 10−2 around the optimal value of when performing data bootstrap only, it is at the level of 10−9 to 10−10 when using random initialization only. This sanity check shows that the instability from random initialization is negligible compared with data bootstrap.
Spatial Neighborhood Query.
A brain atlas or parcellation , with dimensions , is a set of connected volumes, also called brain regions or parcels (15), such that . Numerically, each is represented by a 3D segmentation mask, , where the voxels within the mask (i.e., the support) have the value of and those outside are 0. For the CCFv3 ontology (16) used in this work, . The brain atlas is organized hierarchically based on biological knowledge of the brain regions, however, their precise spatial relationships are not explicitly given. We construct an adjacency list representation of the spatial relationship between brain regions for the subsequent analysis. This representation is commonly used in the spatial computing (81) and image processing (82) communities for its convenience. We call two brain regions, and , neighboring or spatially contiguous if they contain adjacent voxels. Because the support of each has a different shape, we carried out the spatial queries of neighboring brain regions using image morphological (i.e., binary dilation) and logical operations to obtain the adjacency list. A pseudocode for generating all pairwise neighbors of brain regions is given in SI Appendix, Algorithm 1. The triplewise neighbors are generated similarly starting from existing pairwise neighbors, while the condition for spatial contiguity is that the third region after dilation is overlapping with at least one member ( or ) of a neighboring pair.
Spatial Correlation Analysis and Entity Linking.
Entity linking is the task of connecting entity instances to an existing knowledge base for the purpose of data integration (55). Although the task traditionally concerns only entities in text data, it is increasingly referring to similar problem settings encountered in multidimensional and multimodal data (83). In geoinformatics, spatial entity linking has been widely used in integrating data with multiple features such as name, location, shape, type, etc. (54). In a similar vein, in the current work, the brain regions defined in Allen CCFv3 contain information of their anatomical name, shape, and location, while the latent factors, i.e., PPs from staNMF, contain only the shape and location information. We choose to use spatial correlation analysis to link the PPs with known anatomical regions in the Allen CCFv3 to uncover their relations.
The overlap between the PPs and the brain regions is calculated by Pearson correlation (Corr). Let be the volumes defined by a PP with index , our spatial correlation analysis seeks the combination of spatially contiguous regions that maximize the Pearson correlation. For the th PP, the expression for maximal correlation with two and three regions for are written as
where denotes the combined region of the pair after mask normalization (). Similarly, denotes the combined region of the triple after mask normalization. The terms and may be regarded as random variables indicating the random combinations of regions, where denotes the spatial coordinates. The maximization is conducted by exhaustive search over the respective adjacency list obtained from the spatial neighborhood search.
sGCNs.
The putative sGCNs were constructed at the PP level. We first identified the top-ranked genes for each PP by selecting the genes with the top 0.25% importance scores () correspondingly. The selection captures all the prominent coexpression patterns in the gene expression data. This step yields a PP-specific gene subset, and these genes form the nodes of each sGCN. The edges of the network are determined by the level of correlation between the nodes. We then computed the PCC between the reconstructed 3D gene expression images (including those shown in Fig. 5C) for the selected genes within each subset. An edge is drawn between two genes if their correlation coefficient is among the top 5% of all coefficients of that gene subset.
Supplementary Material
Acknowledgments
We would like to thank Lydia Ng and Zizhen Yao for their constructive feedback. R.A.-A., B.T., B.Y., and H.Z. would like to acknowledge support from the Weill Neurohub through the Weill Neurohub’s Next Great Ideas Award. R.A.-A. would like to acknowledge support from the Sandler Program for Breakthrough Biomedical Research, which is partially funded by the Sandler Foundation.
Author contributions
R.C., Y.W., H.Z., B.Y., B.T., and R.A.-A. designed research; R.C., Y.W., and R.A.-A. performed research; R.C., R.P.X., and R.A.-A. contributed new reagents/analytic tools; R.C., Y.W., R.P.X., A.J.L., and R.A.-A. analyzed data; and R.C., R.P.X., H.Z., B.Y., B.T., and R.A.-A. wrote the paper.
Competing interests
The authors declare no competing interest.
Footnotes
This article is a PNAS Direct Submission.
Data, Materials, and Software Availability
The code and intermediate files are freely available at https://github.com/abbasilab/osNMF (84). The data used in this study is publicly available under the Allen Brain Atlas (ABA) (https://mouse.brain-map.org) (16, 85).
Supporting Information
References
- 1.Zeng H., What is a cell type and how to define it? Cell 185, 2739–2755 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Tasic B., Single cell transcriptomics in neuroscience: Cell classification and beyond. Curr. Opin. Neurobiol. 50, 242–249 (2018). [DOI] [PubMed] [Google Scholar]
- 3.Zeng H., Sanes J. R., Neuronal cell-type classification: Challenges, opportunities and the path forward. Nat. Rev. Neurosci. 18, 530–546 (2017). [DOI] [PubMed] [Google Scholar]
- 4.Tasic B., et al. , Shared and distinct transcriptomic cell types across neocortical areas. Nature 563, 72–78 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Yao Z., et al. , A taxonomy of transcriptomic cell types across the isocortex and hippocampal formation. Cell 184, 3222–3241 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Lein E., Borm L. E., Linnarsson S., The promise of spatial transcriptomics for neuroscience in the era of molecular cell typing. Science 358, 64–69 (2017). [DOI] [PubMed] [Google Scholar]
- 7.Close J. L., Long B. R., Zeng H., Spatially resolved transcriptomics in neuroscience. Nat. Methods 18, 23–25 (2021). [DOI] [PubMed] [Google Scholar]
- 8.Rao A., Barkley D., França G. S., Yanai I., Exploring tissue architecture using spatial transcriptomics. Nature 596, 211–220 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Baechler E. C., et al. , Gene expression profiling in human autoimmunity. Immunol. Rev. 210, 120–137 (2006). [DOI] [PubMed] [Google Scholar]
- 10.Cookson W., Liang L., Abecasis G., Moffatt M., Lathrop M., Mapping complex disease traits with global gene expression. Nat. Rev. Genet. 10, 184–194 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Reis-Filho J. S., Pusztai L., Gene expression profiling in breast cancer: Classification, prognostication, and prediction. Lancet 378, 1812–1823 (2011). [DOI] [PubMed] [Google Scholar]
- 12.Cooper-Knock J., et al. , Gene expression profiling in human neurodegenerative disease. Nat. Rev. Neurol. 8, 518–530 (2012). [DOI] [PubMed] [Google Scholar]
- 13.Piwecka M., Rajewsky N., Rybak-Wolf A., Single-cell and spatial transcriptomics: Deciphering brain complexity in health and disease. Nat. Rev. Neurol. 19, 346–362 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Toga A. W., Thompson P. M., Maps of the brain. Anat. Rec. 265, 37–53 (2001). [DOI] [PubMed] [Google Scholar]
- 15.Van Essen D. C., Cartography and connectomes. Neuron 80, 775–790 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Wang Q., et al. , The Allen mouse brain common coordinate framework: A 3D reference atlas. Cell 181, 936–953 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Ng L., et al. , An anatomic gene expression atlas of the adult mouse brain. Nat. Neurosci. 12, 356–362 (2009). [DOI] [PubMed] [Google Scholar]
- 18.Wu S., et al. , Stability-driven nonnegative matrix factorization to interpret spatial gene expression and build local gene networks. Proc. Natl. Acad. Sci. U.S.A. 113, 4290–4295 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Yang Y., Fang Q., Shen H.-B., Predicting gene regulatory interactions based on spatial gene expression data and deep learning. PLoS Comput. Biol. 15, e1007324 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.He B., et al. , Integrating spatial gene expression and breast tumour morphology via deep learning. Nat. Biomed. Eng. 4, 827–834 (2020). [DOI] [PubMed] [Google Scholar]
- 21.Zeng T., Li R., Mukkamala R., Ye J., Ji S., Deep convolutional neural networks for annotating gene expression patterns in the mouse brain. BMC Bioinform. 16, 1–10 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Ng L., et al. , Neuroinformatics for genome-wide 3-D gene expression mapping in the mouse brain. IEEE/ACM Trans. Comput. Biol. Bioinform. 4, 382–393 (2007). [DOI] [PubMed] [Google Scholar]
- 23.Morris J. A., et al. , Divergent and nonuniform gene expression patterns in mouse brain. Proc. Natl. Acad. Sci. U.S.A. 107, 19049–19054 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Hao Y., et al. , Integrated analysis of multimodal single-cell data. Cell 184, 3573–3587.e29 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Maynard K. R., et al. , Transcriptome-scale spatial gene expression in the human dorsolateral prefrontal cortex. Nat. Neurosci. 24, 425–436 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Dries R., et al. , Giotto: A toolbox for integrative analysis and visualization of spatial expression data. Genome Biol. 22, 78 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Lopez R., et al. , DestVI identifies continuums of cell types in spatial transcriptomics data. Nat. Biotechnol. 40, 1360–1369 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Hu J., et al. , Statistical and machine learning methods for spatially resolved transcriptomics with histology. Comput. Struct. Biotechnol. J. 19, 3829–3841 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Dries R., et al. , Advances in spatial transcriptomic data analysis. Genome Res. 31, 1706–1718 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Zeng Z., Li Y., Li Y., Luo Y., Statistical and machine learning methods for spatially resolved transcriptomics data analysis. Genome Biol. 23, 83 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Li Y., Stanojevic S., Garmire L. X., Emerging artificial intelligence applications in spatial transcriptomics analysis. Comput. Struct. Biotechnol. J. 20, 2895–2908 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Lee D. D., Seung H. S., Learning the parts of objects by non-negative matrix factorization. Nature 401, 788–791 (1999). [DOI] [PubMed] [Google Scholar]
- 33.Fu X., Huang K., Sidiropoulos N. D., Ma W.-K., Nonnegative matrix factorization for signal and data analytics: Identifiability, algorithms, and applications. IEEE Signal Process. Mag. 36, 59–80 (2019). [Google Scholar]
- 34.Gillis N., Nonnegative Matrix Factorization (Society for Industrial and Applied Mathematics, 2020). [Google Scholar]
- 35.Brunet J.-P., Tamayo P., Golub T. R., Mesirov J. P., Metagenes and molecular pattern discovery using matrix factorization. Proc. Natl. Acad. Sci. U.S.A. 101, 4164–4169 (2004). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Stein-O’Brien G. L., et al. , Enter the matrix: Factorization uncovers knowledge from Omics. Trends Genet. 34, 790–805 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Kotliar D., et al. , Identifying gene expression programs of cell-type identity and cellular activity with single-cell RNA-Seq. eLife 8, e43803 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Mackevicius E. L., et al. , Unsupervised discovery of temporal sequences in high-dimensional datasets, with applications to neuroscience. eLife 8, e38471 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Saxena S., et al. , Localized semi-nonnegative matrix factorization (LocaNMF) of widefield calcium imaging data. PLoS Comput. Biol. 16, e1007791 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Townes F. W., Engelhardt B. E., Nonnegative spatial factorization applied to spatial genomics. Nat. Methods 20, 229–238 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Tsuyuzaki K., Sato H., Sato K., Nikaido I., Benchmarking principal component analysis for large-scale single-cell RNA-sequencing. Genome Biol. 21, 9 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Hu J., et al. , SpaGCN: Integrating gene expression, spatial location and histology to identify spatial domains and spatially variable genes by graph convolutional network. Nat. Methods 18, 1342–1351 (2021). [DOI] [PubMed] [Google Scholar]
- 43.Shang L., Zhou X., Spatially aware dimension reduction for spatial transcriptomics. Nat. Commun. 13, 7203 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Thompson C. L., et al. , Genomic anatomy of the hippocampus. Neuron 60, 1010–1021 (2008). [DOI] [PubMed] [Google Scholar]
- 45.Yu B., Stability. Bernoulli 19, 1484–1500 (2013). [Google Scholar]
- 46.Murdoch W. J., Singh C., Kumbier K., Abbasi-Asl R., Yu B., Definitions, methods, and applications in interpretable machine learning. Proc. Natl. Acad. Sci. U.S.A. 116, 22071–22080 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Yu B., Kumbier K., Veridical data science. Proc. Natl. Acad. Sci. U.S.A. 117, 3920–3929 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Lein E. S., et al. , Genome-wide atlas of gene expression in the adult mouse brain. Nature 445, 168–176 (2007). [DOI] [PubMed] [Google Scholar]
- 49.Kuhn H., The Hungarian Method for the assignment problem. Nav. Res. Logist. Q. 2, 83–97 (1955). [Google Scholar]
- 50.Amari S., Cichocki A., Yang H., A New Learning Algorithm for Blind Signal Separation in Advances in Neural Information Processing Systems (MIT Press, 1995). [Google Scholar]
- 51.Moran P. A. P., Notes on continuous stochastic phenomena. Biometrika 37, 17–23 (1950). [PubMed] [Google Scholar]
- 52.Cable D. M., et al. , Robust decomposition of cell type mixtures in spatial transcriptomics. Nat. Biotechnol. 40, 517–526 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Abdelaal T., Mourragui S., Mahfouz A., Reinders M. J. T., SpaGE: Spatial gene enhancement using scRNA-seq. Nucleic Acids Res. 48, e107–e107 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Isaj S., Pedersen T. B., Zimányi E., Multi-Source spatial entity linkage. IEEE Trans. Knowl. Data Eng. 34, 1344–1358 (2022). [Google Scholar]
- 55.Shen W., Wang J., Han J., Entity linking with a knowledge base: Issues, techniques, and solutions. IEEE Trans. Knowl. Data Eng. 27, 443–460 (2015). [Google Scholar]
- 56.Yao Z., et al. , A high-resolution transcriptomic and spatial atlas of cell types in the whole mouse brain. Nature 624, 317–332 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 57.Pham D., et al. , Robust mapping of spatiotemporal trajectories and cell–cell interactions in healthy and diseased tissues. Nat. Commun. 14, 7739 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Harris J. A., et al. , Hierarchical organization of cortical and thalamic connectivity. Nature 575, 195–202 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Daigle T. L., et al. , A suite of transgenic driver and reporter mouse lines with enhanced brain-cell-type targeting and functionality. Cell 174, 465–480 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.He M., et al. , Strategies and tools for combinatorial targeting of GABAergic neurons in mouse Cerebral Cortex. Neuron 91, 1228–1243 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Lavado A., Oliver G., Prox1 expression patterns in the developing and adult murine brain. Dev. Dyn. 236, 518–524 (2007). [DOI] [PubMed] [Google Scholar]
- 62.Wang W., et al. , A role for nuclear factor I in the intrinsic control of cerebellar granule neuron gene expression. J. Biol. Chem. 279, 53491–53497 (2004). [DOI] [PubMed] [Google Scholar]
- 63.Zhang B., Horvath S., A general framework for weighted gene co-expression network analysis. Stat. Appl. Genet. Mol. Biol. 4, 17 (2005). [DOI] [PubMed] [Google Scholar]
- 64.van Dam S., Võsa U., van der Graaf A., Franke L., de Magalhães J. P., Gene co-expression analysis for functional classification and gene–disease predictions. Brief. Bioinform. 19, 575–592 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Acharyya S., Zhou X., Baladandayuthapani V., SpaceX: Gene co-expression network estimation for spatial transcriptomics. Bioinformatics 38, 5033–5041 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Salamon J., Qian X., Nilsson M., Lynn D. J., Network visualization and analysis of spatially aware gene expression data with insitunet. Cell Syst. 6, 626–630.e3 (2018). [DOI] [PubMed] [Google Scholar]
- 67.Wu Z., et al. , SPACE-GM: Geometric deep learning of disease-associated microenvironments from multiplex spatial protein profiles. bioXriv [Preprint] (2022). 10.1101/2022.05.12.491707 (Accessed 10 October 2023). [DOI]
- 68.Yuan Y., Bar-Joseph Z., GCNG: Graph convolutional networks for inferring gene interaction from spatial transcriptomics data. Genome Biol. 21, 300 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Karadurmus D., et al. , GPRIN3 controls neuronal excitability, morphology, and striatal-dependent behaviors in the indirect pathway of the striatum. J. Neurosci. 39, 7513 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.Montnach J., Agullo-Pascual E., Tadros R., Bezzina C. R., Delmar M., Bioinformatic analysis of a plakophilin-2-dependent transcription network: Implications for the mechanisms of arrhythmogenic right ventricular cardiomyopathy in humans and in boxer dogs. EP Eur. 20, iii125–iii132 (2018). [DOI] [PubMed] [Google Scholar]
- 71.Wang F., et al. , Developmental topography of cortical thickness during infancy. Proc. Natl. Acad. Sci. U.S.A. 116, 15855–15860 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Ortiz C., et al. , Molecular atlas of the adult mouse brain. Sci. Adv. 6, eabb3446 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Henderson M. X., et al. , Spread of α-synuclein pathology through the brain connectome is modulated by selective vulnerability and predicted by network analysis. Nat. Neurosci. 22, 1248–1257 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 74.Basu S., Kumbier K., Brown J. B., Yu B., Iterative random forests to discover predictive and stable high-order interactions. Proc. Natl. Acad. Sci. U.S.A. 115, 1943–1948 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 75.Oh S. W., et al. , A mesoscale connectome of the mouse brain. Nature 508, 207–214 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Fix E., Hodges J. L., Discriminatory analysis. Nonparametric discrimination: Consistency properties. Int. Stat. Rev. 57, 238–247 (1989). [Google Scholar]
- 77.Pedregosa F., et al. , Scikit-learn: Machine learning in python. J. Mach. Learn. Res. 12, 2825–2830 (2011). [Google Scholar]
- 78.Hsieh C.-J., Dhillon I. S., “Fast coordinate descent methods with variable selection for non-negative matrix factorization” in Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ‘11 (Association for Computing Machinery, 2011), pp. 1064–1072. [Google Scholar]
- 79.Boutsidis C., Gallopoulos E., SVD based initialization: A head start for nonnegative matrix factorization. Pattern Recognit. 41, 1350–1362 (2008). [Google Scholar]
- 80.Tichavsky P., Koldovsky Z., Optimal pairing of signal components separated by blind techniques. IEEE Signal Process. Lett. 11, 119–122 (2004). [Google Scholar]
- 81.Papadias D., Zhang J., Mamoulis N., Tao Y., “Query processing in spatial network databases” in Proceedings 2003 VLDB Conference, Freytag J.-C., et al. , Eds. (Morgan Kaufmann, 2003), pp. 802–813. [Google Scholar]
- 82.Haris K., Efstratiadis S. N., Maglaveras N., Katsaggelos A. K., Hybrid image segmentation using watersheds and fast region merging. IEEE Trans. Image Process. 7, 1684–1699 (1998). [DOI] [PubMed] [Google Scholar]
- 83.Adjali O., Besançon R., Ferret O., Le Borgne H., Grau B., “Multimodal entity linking for tweets in advances in information retrieval” in Lecture Notes in Computer Science, Jose J. M., et al. , Eds. (Springer International Publishing, 2020), pp. 463–478. [Google Scholar]
- 84.Cahill R., et al. , Unsupervised pattern identification in spatial gene expression atlas reveals mouse brain regions beyond established ontology. GitHub. https://github.com/abbasilab/osNMF. Deposited 3 March 2023. [DOI] [PMC free article] [PubMed]
- 85.Allen Institute for Brain Science, Data from “Allen Mouse Brain Atlas Dataset.” https://github.com/mouse.brain-map.org. Accessed 9 January 2018.
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The code and intermediate files are freely available at https://github.com/abbasilab/osNMF (84). The data used in this study is publicly available under the Allen Brain Atlas (ABA) (https://mouse.brain-map.org) (16, 85).