Introduction

Multiple sclerosis (MS) is a chronic inflammatory, demyelinating and neurodegenerative disease of the central nervous system (CNS) characterized by a gradual accumulation of pathological abnormalities from its biological onset [1, 2]. Currently, the correlation between in-vivo structural MRI measures and clinical manifestations remains suboptimal [3]. One possible explanation is the variable functional brain plasticity and network reorganization across different disease stages, which can be explored using functional MRI [4, 5]. In the early phases, increased resting-state (RS) functional connectivity (FC) may reflect a compensatory mechanism [4, 5]. As the disease progresses, these patterns become more heterogeneous and potentially maladaptive [4, 5] contributing to differentiate clinical phenotypes [6, 7], explain more severe disability [8,9,10,11,12,13], and cognitive impairment [14,15,16,17,18].

Recent advancements in neuroimaging analysis have expanded RS FC analyses beyond classical large-scale resting-state networks (RSNs) [4, 5]. The application of graph theory in MS research allows computation of network metrics that assess local and global connectivity properties [19,20,21,22,23,24,25]. Among these, degree centrality quantifies the relative importance of each node within networks based on its connections, providing a measure of “hubness” [26]. Voxel-wise analyses of centrality in MS have revealed widespread network alterations. Lower centrality in the sensorimotor network (SMN) has been linked to more severe physical disability and a progressive disease phenotype [25, 27], whereas lower centrality in the salience network (SN) has been associated with cognitive impairment [25]. These findings suggest that the loss of functional connections may isolate key brain regions, contributing to clinical manifestations, likely driven by structural damage accumulation. This is supported by the earlier involvement of structural networks compared to functional ones [20] and the significant associations of functional abnormalities with brain lesion volume and atrophy [25]. Conversely, the default-mode network (DMN) has consistently shown increased centrality, which correlates with cognitive impairment [25, 28, 29]. It has been hypothesized that, in the presence of widespread structural damage, FC becomes more confined to a limited number of dominant activity patterns centered around network hubs. Over time, this may lead to hub overload and, ultimately, network collapse [5, 7, 30, 31].

Despite these insights, the biological mechanisms driving these clinically relevant RS FC modifications and the factors influencing their spatial distribution remain poorly understood. Advances in high-throughput gene expression analysis have enabled the construction of brain-wide transcriptomic atlases, such as the Allen Human Brain Atlas (AHBA) [32], allowing for transcriptional profiling of post-mortem brain tissue with high spatial resolution. These atlases provide a valuable resource for investigating the molecular mechanisms underlying disease-related abnormalities [33]. Spatial correlation analyses between disease-specific regional brain abnormalities and regional physiological gene expression patterns may help identify molecular determinants of brain regions’ vulnerability or resilience to pathology [34]. This approach has been successfully employed to explain characteristic patterns of gray matter (GM) atrophy in MS and other neuro-inflammatory disorders [35,36,37]. A similar framework can be leveraged to improve our understanding of RSN reorganization in these conditions.

Given this background, we investigated whether the regional expression of specific genes in the healthy brain is associated with RSN reorganization in MS. Using a large, well-characterized cohort of MS patients, we performed spatial cross-correlation analyses between regional brain-wide gene expression profiles from the AHBA and degree centrality abnormalities in MS patients compared to healthy controls (HC). Additionally, we explored the relationship between gene expression patterns and FC abnormalities in specific disease subgroups stratified by disease clinical phenotype and cognitive status.

Materials and methods

Study design and population

This retrospective observational study was approved by the Institutional Ethical Standards Committee on Human Experimentation at IRCCS Ospedale San Raffaele (Protocol N° 2013-33). Written informed consent was obtained from all participants in accordance with the Declaration of Helsinki.

From the database of the Neuroimaging Research Unit, IRCCS San Raffaele Scientific Institute (Milan, Italy), we selected 558 consecutive MS patients and 214 HC who underwent the same neuropsychological and MRI protocols. MS patients were eligible for inclusion if they were at least 18 years old, right-handed (defined as Edinburgh Handedness Inventory >50 [38]), and had a diagnosis of MS according to the 2017 revised McDonald criteria [39]. Additional inclusion criteria required that MS patients be relapse- and steroid-free for at least three months prior to MRI, have no significant neurological (other than MS) or psychiatric conditions, no history of drug or alcohol abuse, and be on stable disease-modifying treatment (DMT) for at least three months. HC had to be right-handed, have no neurologic diseases or systemic disorders affecting the CNS, and have a completely normal neurologic examination.

Clinical and neuropsychological assessment

Within 3 days of MRI acquisition, all MS patients underwent a comprehensive neurological examination, with rating of the Expanded Disability Status Scale (EDSS) score [40], recording of current DMT, and clinical phenotype classification (i.e., relapsing-remitting [RR] or progressive [P] MS).

Neuropsychological evaluation was conducted using the Brief Repeatable Battery of Neuropsychological Tests (BRB-N), version A, administered by an experienced neuropsychologist [41]. Z-scores for all BRB-N tests were calculated by correcting raw scores for age, sex, and education according to updated Italian normative data [42]. Test failure was defined as a score at least 1.5 standard deviations below normative values. Impairment in a single domain was defined as failure in at least one test assessing that domain, whereas cognitive impairment was defined as failure in at least two cognitive domains [43]. Patients who were unable to complete the BRB-N due to excessive disability or voluntarily withdrawal (n = 67) were excluded from the analysis of cognitive data.

MRI acquisition

The MRI protocol was performed using two 3.0 T scanners (Scanner 1: Achieva, n = 334 MS patients/110 HC; Scanner 2: Ingenia, n = 224 MS patients/104 HC; Philips Medical Systems, Eindhoven, The Netherlands) and included the following sequences: (1) T2*-weighted echo planar imaging sequence for RS functional MRI (fMRI); (2) dual-echo turbo spin echo (Scanner 1) or variable flip angle three-dimensional (3D) T2-weighted fluid-attenuated inversion recovery (FLAIR) (Scanner 2) for white matter (WM) lesion volume assessment; (3) 3D T1-weighted fast field echo for brain atrophy analysis. During RS fMRI acquisition, participants were instructed to keep their eyes closed, to remain motionless, and not to focus on any particular thought. All participants ensured that they had not fallen asleep during the scanning, according to a questionnaire delivered after the MRI session. Detailed MRI parameters for each scanner are provided in the supplementary material.

Structural MRI analysis

For Scanner 1, focal WM lesions were manually contoured on dual-echo scans using a semiautomatic local thresholding segmentation technique (Jim 7.0, Xinapse Systems Ltd, Colchester, UK). For Scanner 2, brain T2-hyperintense WM lesions were identified and segmented by a fully automated approach based on a cascade of two 3D patch-wise convolutional neural networks, using 3D FLAIR and 3D T1-weighted MRI sequences as input images [44]. Total brain T2-hyperintense WM lesion volume (T2-LV) was calculated from lesion mask after visual inspection of the results. After T1-hypointense WM lesions refilling, normalized brain (NBV), cortical (NcGMV), deep GM (NDGMV) and WM (NWMV) volumes were obtained using FSL SIENAX2 [45] for acquisitions from both Scanners. DGMV was defined as the sum of normalized volumes of the thalamus, caudate, putamen, pallidum, amygdala and nucleus accumbens.

Degree centrality analysis

After fMRI data preprocessing (detailed in the supplementary material), we calculated voxel-wise centrality maps. Degree centrality, hereafter referred to as centrality, represents the total number of connections of a given voxel with any other GM voxel. To exclude from analysis voxels in WM areas or those without a reliable RS fMRI signal, RS fMRI images were masked using the corresponding GM masks obtained by thresholding a standard GM probability atlas in the MNI space (available in SPM12 software) at 0.20. Binary centrality maps were calculated using the “REST-DC” toolkit embedded in the REST V1.8 package (restfmri.net/forum/REST_V1.8), as previously described [25]. Centrality of each brain voxel was measured using voxel-wise Pearson correlation analysis with all other GM voxels, considering only positive correlation coefficients higher than 0.25 to avoid weak correlations and spurious contributions [46]. Finally, centrality maps were converted through Fisher Z-transformation to account for individual variability [26].

Statistical analyses

Demographic and clinical variables were compared between MS patients and HC, as well as between MS subgroups based on clinical phenotypes (RRMS or PMS) and cognitive status (preserved or impaired), using the Chi-square or Mann-Whitney test as appropriate. MRI features were compared using sex-, age- and scanner-adjusted linear models. T2-LV was log-transformed before analysis for normalization. A p-value < 0.05 was considered statistically significant. All computations were performed using SPSS (IBM® SPSS® Statistics, version 26.0).

Using a general linear model and the theory of Gaussian fields, voxel-wise between-group comparisons of centrality were performed using SPM12 and full factorial models, including age, sex and scanner as covariates. Comparisons were made between all MS patients and HC, as well as between MS subgroups. To increase specificity in the associations with gene expression, analyses were restricted to the following contrasts: (a) all MS patients versus HC; (b) RRMS patients versus PMS and HC (conjunction analysis) [47]; (c) PMS patients versus RRMS and HC (conjunction analysis); (d) cognitively preserved MS patients versus cognitively impaired MS and HC (conjunction analysis); and (e) cognitively impaired MS patients versus cognitively preserved MS and HC (conjunction analysis). Results were all assessed at p < 0.001 uncorrected (cluster extent k = 20).

Second-level maps derived from centrality between-group comparisons were used as inputs for the analysis of spatial association with gene expression data. In line with the hierarchical general linear modelling framework [48] and with previous works using similar methodology [37, 49, 50], input maps underwent a light thresholding at p < 0.01 (uncorrected), to achieve a good trade-off between the need for data cleaning and adequate sampling of voxels for higher-level statistics.

Spatial associations between centrality abnormalities and gene expression

Brain-wide gene expression profiles were obtained from microarray data in the AHBA, which comprises transcriptomic data for over 20000 genes taken from approximately 3700 spatially distinct tissue samples from six adult neurotypical brains (aged 24–57 years). Data are publicly available from the Allen brain institute (http://human.brain-map.org) [32].

For our analysis, a selection of genes associated with MS was included, selected using the OpenTarget Platform (https://platform.opentargets.org/, access date: January 15th, 2025) with the search term “Multiple Sclerosis”. We obtained a list of 3634 genes associated with the disease. Spatial associations between imaging maps (t-value maps from statistical comparisons of centrality values) and selected gene expressions were explored using the Multimodal Environment for Neuroimaging and Genomic Analysis (MENGA) platform [51] following published guidelines [52], as previously done [35].

Transcriptomic data were obtained from a processed version of the Allen human brain database. Pre-processing of the transcriptomic data from available atlases was carried out to reduce variability and ensure consistency and reproducibility [52]. This process included:

  1. (i)

    Representative probe selection: For each gene transcript, only one probe was selected to represent its expression across all donors. Since 71% of genes in the AHBA were measured with multiple probes, the representative probe for each gene was selected based on the distribution of expression values (most symmetric and least skewed distribution) to minimize non-linearity effects in microarray measurements [51].

  2. (ii)

    Normalization of the expression measure: To mitigate donor-specific effects, normalization was applied to each gene’s expression for each donor separately to reflect its relative expression across brain regions. Specifically, z-score normalization was employed:

    $${z}_{{score}}=\frac{{x}_{i}-\,\bar{x}}{{\rm{\sigma }}}$$

    where \({x}_{i}\) is the expression value of a specific gene in a single sample, \(\bar{x}\) is the mean, and \({\rm{\sigma }}\) is the standard deviation of expression values for that donor.

Image maps in MNI ICBM152 space were resampled to match AHBA coordinates separately for each donor to ensure image-to-sample spatial correspondence, using MNI coordinates of each sample provided by AHBA. Image data were normalized to z-scores and each image sample was estimated as the average of the voxels within a 3D window of a specified size (here set to 5 mm) centred on the MNI coordinates of the microarray sample. Since only two of the six donors were sampled across the whole brain, our analyses were restricted to the left hemisphere of the brain to increase the robustness of the results.

Spatial associations between imaging and genomic data were assessed using weighted multiple regression within the MENGA platform. To avoid possible overfitting of the regression model, since the six AHBA donors carry similar information in terms of gene expression, a principal component analysis was first applied to the gene expression data to extract the principal components explaining at least 95% of the total variance in the data, which were then used as regressors in the analysis. The resulting multivariate cross-correlation coefficient (R2-adjusted) represented the proportion of the total image variability explained by genomic data. The information on the directionality of the imaging-genomic data correlation was also given.

A bootstrapping approach, resampling genomic data 1000 times, was employed to estimate the reliability of the cross-correlation. The chance likelihood was calculated as [51]:

$${chanche}\,{likelihood}=\frac{{number}\,{of}\,{instances}({R}^{2}\, > \,{R}_{{or}}^{2})}{{number}\,{of}\,{bootstraps}}$$

Where \({R}_{{or}}^{2}\) is the value of the coefficient obtained from real data, and \({R}^{2}\) is that obtained using the bootstrapped genomic data. It returned the probability that genomic data be unrelated to image values. Thus, smaller values of chance likelihood denoted a higher reliability of the obtained results.

Finally, an auto-correlation analysis on genomic data is also given by calculating Pearson’s correlation coefficient of the messenger ribonucleic acid (mRNA) data for each pair of AHBA donors, returning information about the biological variability of the mRNA expression across the six sampled brains.

Enrichment analysis

Genes with significant and reliable spatial associations (chance likelihood <0.001 and auto-correlation ≥0.2) and a cross-correlation with a R2 ≥ 0.15 in relation to the t value map of centrality alterations were analyzed for overrepresented biological processes, cellular components, and molecular functions using the ToppGene Suite (http://toppgene.cchmc.org) [35]. This is a free and open-access portal for functional enrichment analysis of gene lists [53], allowing to better explore genetic functionalities. ToppGene Suite uses 14 annotation categories, including Gene Ontology (GO) terms, to generate a representative profile of the input genes and identify over-representative terms. Hypergeometric distribution with Bonferroni correction (p < 0.05) was implemented to assess statistical significance. For this study, the following GO terms were explored: “molecular function”, corresponding to activities performed by individual gene products, “biological process”, constituting larger processes accomplished by multiple molecular activities, and “cellular component”, representing the location(s), relative to cellular structures, where a gene product performs its function.

Brain cell type specific gene expression

To investigate whether the expression of significant genes was associated with specific CNS cell type, gene expression was analyzed using the open-source R/Shiny tool available at http://celltypes.org/brain [54]. We selected the Darmanis database of human brain transcriptome at single cell level [55]. Briefly, the tool started from published raw data on human transcriptome, which are reprocessed using a standardized pipeline for sequencing alignment and gene expression normalization [54]. Then, cell type-associated gene expression was measured considering three types of gene-wise cell-type-relative expression measurements: specificity, enrichment, and absolute expression levels. For each cell type, mRNA expression data were normalized and presented using the quantile method [56].

Results

Demographic, clinical, neuropsychological and structural MRI analysis

Compared to HC, MS patients were significantly older (p = 0.008), had fewer years of education (p < 0.001), higher brain T2-LV, as well as lower NBV, NcGMV, NDGMV and NWMV (p < 0.001) (Table 1). Sex distribution did not differ significantly between groups (p = 0.073) (Table 1).

Table 1 Main demographic, clinical and structural MRI characteristics of HC and MS patients and of MS patients according to their clinical phenotype and the presence of cognitive impairment.

Among MS patients, 365 (65%) had RRMS and 193 (35%) had PMS. The significant age difference observed between the entire MS group and HC was primarily driven by PMS patients, who were significantly older than RRMS patients (p < 0.001). Moreover, compared to RRMS, PMS patients had fewer years of education, longer disease duration, higher EDSS score, and were less frequently treated with DMTs (p < 0.001). Structural MRI analysis showed higher brain T2-LV as well as lower NBV, NcGMV, NDGMV and NWMV (p ≤ 0.001) in PMS compared to RRMS patients (Table 1).

Of the 558 MS patients, 491 (88%) completed the BRB-N. Among them, 144 (29%) were classified as cognitively impaired. The most frequently impaired cognitive domains among cognitively impaired MS patients were information processing speed/attention (88%) and verbal memory (82%) (see Supplementary Table 1 for details).

Compared to cognitively preserved MS patients, those with cognitive impairment were significantly older, had fewer years of education, longer disease duration and higher EDSS score (p ≤ 0.002). They also had significantly higher brain T2-LV and as well as lower NBV, NcGMV, NDGMV and NWMV (p < 0.001) (Table 1).

Patterns of degree centrality abnormalities, spatial correlations with gene expression and enrichment analysis

MS patients versus HC

Compared to HC, MS patients showed significantly higher centrality located in the bilateral precuneus, bilateral orbitofrontal and inferior temporal cortices, regions known to be part of the DMN (p < 0.001, uncorrected) (Fig. 1). This pattern showed significant spatial correlation with the expression of 17 genes (p < 0.001) (Supplementary Table 2). Enrichment analysis showed overrepresentation of molecular pathways related to calcium-signalling, and biological processes involved in cell migration and immune system function (Table 2). Notably, genes associated with cell migration are mainly expressed in neurons, microglia and endothelial cells, and are involved in different CNS and immune system functions, including resolution of inflammation and damage repair (Fig. 2).

Fig. 1: SPM12 analysis showing voxel-wise differences in centrality between MS patients and HC.
Fig. 1: SPM12 analysis showing voxel-wise differences in centrality between MS patients and HC.
Full size image

Clusters of higher centrality in MS patients are shown in red-yellow scale (A), while clusters of lower centrality are shown in blue-light blue scale (B); images are thresholded at p < 0.001, uncorrected, cluster extent k = 20. Results are superimposed on the MNI152 atlas and overlaid on a standard template mask of the default mode network (cyan) for higher centrality, and on a standard template of the salience network (cyan) for lower centrality. Images are presented in neurological convention. A anterior; Ax axial; HC healthy controls; L left; MS multiple sclerosis; R right; P posterior; Sag sagittal; vs versus.

Fig. 2: Overview of specific RNA expression in brain cell types of the different genes showing a significant and reliable spatial association (chance likelihood <0.001 and auto-correlation ≥0.2) and an adjusted cross-correlation with a R2 ≥ 0.15 with the voxel-wise differences in centrality between MS patients and HC and that were found to be enriched at enrichment analyses.
Fig. 2: Overview of specific RNA expression in brain cell types of the different genes showing a significant and reliable spatial association (chance likelihood <0.001 and auto-correlation ≥0.2) and an adjusted cross-correlation with a R2 ≥ 0.15 with the voxel-wise differences in centrality between MS patients and HC and that were found to be enriched at enrichment analyses.
Full size image

RNA expression of the different genes has been obtained from McKenzie et al. [54] using gene expression derived from Darmanis brain single cell human atlas transcriptome [55]. Error bars represent the standard error of the mean. RNA expression data have been quantile normalized, and are expressed on a logarithmic scale; constant value of 0.001 has been added to all data points to allow representation of zero values. See text for further details. HC healthy controls; MS multiple sclerosis; RNA ribonucleic acid; vs versus.

Table 2 Enrichment analysis showing significantly overexpressed pathways (molecular function, biological processes, cellular components) among genes showing spatial association with centrality abnormalities in MS patients, also according to clinical phenotype.

MS patients also showed significantly lower centrality compared to HC in the bilateral insula (a key region of the SN), as well as in the left and right cerebellum (crus I, lobules VI-IX) (p < 0.001, uncorrected) (Fig. 1). This pattern of reduced centrality was spatially correlated with the expression of 10 genes (p < 0.001) (Supplementary Table 3). These genes were significantly enriched for processes related to cellular response to cytokines (p = 0.046, Bonferroni corrected), suggesting that a higher expression of pro-inflammatory cytokines is associated with a reduced centrality observed in these regions. They are mainly expressed in astrocytes, endothelial cells, and neurons (Fig. 2).

MS clinical phenotypes

Compared to RRMS patients and HC, PMS patients showed significantly higher centrality in the precuneus and angular gyrus (known to be part of the DMN), but also in the right and left cerebellum (lobules VI-VIII-IX) and orbitofrontal cortex (p < 0.001, uncorrected) (Fig. 3). This pattern was significantly correlated with the physiological expression of 14 genes (p < 0.001) (Supplementary Table 4). Enrichment analysis revealed significant over-representation of epigenetic regulation pathways. Moreover, four of these genes encoded proteins localized in the mitochondrial matrix (p = 0.029, Bonferroni corrected), suggesting their involvement in mitochondrial energy production. All these genes were found to have ubiquitous expression across CNS cell types (Fig. 4).

Fig. 3: SPM12 analysis showing voxel-wise differences in centrality between MS patients, according to their clinical phenotype and cognitive status, and HC.
Fig. 3: SPM12 analysis showing voxel-wise differences in centrality between MS patients, according to their clinical phenotype and cognitive status, and HC.
Full size image

A Higher centrality in PPMS vs RRMS and HC; (B) Higher centrality in cognitively impaired MS patients vs cognitively preserved and HC. Clusters of higher centrality are shown in red-yellow scale; images are thresholded at p < 0.001, uncorrected, cluster extent k = 20. Results are superimposed on the MNI152 atlas and overlaid on a standard template mask of the default mode network (cyan). Images are presented in neurological convention. A anterior; Ax axial; HC healthy controls; L left; MS multiple sclerosis; R right; P posterior; PMS progressive MS; RRMS relapsing-remitting MS; Sag=sagittal; vs versus.

Fig. 4: Overview of specific RNA expression in brain cell types of the different genes showing a significant and reliable spatial association (chance likelihood <0.001 and auto-correlation ≥0.2) and an adjusted cross-correlation with a R2 ≥ 0.15 with the voxel-wise differences in centrality between MS patients, according to their clinical phenotype and cognitive status, and HC.
Fig. 4: Overview of specific RNA expression in brain cell types of the different genes showing a significant and reliable spatial association (chance likelihood <0.001 and auto-correlation ≥0.2) and an adjusted cross-correlation with a R2 ≥ 0.15 with the voxel-wise differences in centrality between MS patients, according to their clinical phenotype and cognitive status, and HC.
Full size image

A genes showing spatial association with maps of higher centrality in PMS vs RRMS and HC, which were found to be enriched at enrichment analyses; (B) genes showing spatial association with maps of higher centrality in cognitively impaired MS vs preserved and HC. RNA expression of the different genes has been obtained from McKenzie et al. [54] using gene expression derived from Darmanis brain single cell human atlas transcriptome [55]. Error bars represent the standard error of the mean. RNA expression data have been quantile normalized, and are expressed on a logarithmic scale; constant value of 0.001 has been added to all data points to allow representation of zero values. See text for further details. HC healthy controls; MS multiple sclerosis; PMS progressive multiple sclerosis; RNA ribonucleic acid; RRMS relapsing-remitting multiple sclerosis; vs versus.

PMS patients also showed reduced centrality in bilateral insula and anterior cingulate cortex, as well as the thalamus bilaterally and the right caudate nucleus (p < 0.001, uncorrected). This spatial map showed no significant spatial associations with transcriptomic data (data not shown).

RRMS patients showed no significant suprathreshold cluster in the conjunction analysis compared to PMS patients and HC.

Cognition

Compared to cognitively preserved MS patients and HC, cognitively impaired MS patients showed significantly higher centrality in bilateral mesial temporal lobe regions, the right and left precuneus (part of the DMN) and the orbitofrontal cortex (p < 0.001, uncorrected) (Fig. 3). This pattern was negatively associated with the expression of 2 genes, DNASE1 and CP (p < 0.001) (Supplementary Table 5). DNASE1 encodes for an enzyme involved in desoxyribonucleic acid (DNA) degradation, which may play a role in neuronal apoptosis. It is predominantly expressed in neurons and astrocytes (Fig. 4). CP encodes for ceruloplasmin, a protein involved in iron homeostasis in the CNS and ubiquitously expressed among CNS cell types (Fig. 4).

Cognitively impaired MS also showed small clusters of lower centrality in left and right thalamus, left insula, left precentral gyrus and right postcentral gyrus (p < 0.001, uncorrected). This spatial map showed no significant spatial associations with transcriptomic data (data not shown).

Cognitively preserved MS patients exhibited no significant suprathreshold centrality clusters compared to the other groups in the conjunction analysis.

Discussion

This retrospective cross-sectional study investigated the spatial correlations between RSN abnormalities in MS, measured through degree centrality, and regional gene expression profiles derived from the AHBA transcriptomic data. MS patients had increased centrality in areas mainly of the DMN and decreased centrality in regions of the SN and cerebellum compared with HC. These abnormalities were associated with the expression of genes involved in inflammation resolution, immune function and cytokine signalling. Notably, increased centrality in regions of the DMN was more pronounced in PMS patients and correlated with the expression of genes regulating epigenetic and mitochondrial function. Additionally, cognitively impaired MS patients showed higher centrality in DMN and mesial temporal lobe regions, negatively correlated with DNASE1 and CP expression.

Our structural MRI findings align with previous studies, revealing a significant accumulation of structural damage in MS patients, in terms of higher brain T2-LV and lower NBV, NcGMV, NDGMV, and NWMV compared to HC, being most pronounced in PMS [57,58,59] and in patients with cognitive impairment [41, 60,61,62,63].

As previously described [25, 28, 29], MS patients showed higher centrality in regions of the DMN compared to HC. This likely reflects widespread MS-related structural damage accumulation that reduces brain flexibility in functional interactions and reinforces hub-centered activity [25, 30, 64]. These regions with higher centrality were also characterized by the physiological expression of genes involved cell migration regulation. Among these, we found higher expression of genes implied in inflammation resolution and damage repair, such as DPP4 [65], HRAS [66], GPNMB [67, 68] and IGFBP3 [69], and lower expression of genes involved in immune cell recruitment, such as C3AR1 [70]. This may indicate that these regions have stronger anti-inflammatory and pro-reparative activities. A higher expression of genes that limit inflammation and promote neuroprotection may prevent structural damage accumulation, including demyelination, but also neuro-axonal and synaptic loss. Furthermore, a lower expression of genes involved in innate immune cell activation [71] suggests these brain areas may be inherently more resistant to MS-related damage. This potential resilience may confer structural and functional protection against disconnection, thus contributing to the crucial role of DMN hubs in the functional connectome. These genes are mainly expressed in neurons and endothelial cells, key components of the neurovascular unit that maintains brain energy homeostasis [72]. Neurovascular unit dysfunction has been implicated in MS pathology [73] and our findings are particularly relevant because the fMRI blood-oxygen-level-dependent (BOLD) signal depends on the increase in blood flow and in the ratio between oxy- and deoxyhemoglobin during neuronal activation to meet higher energy demands [74]. Brain regions with stronger neurovascular resilience to MS-related damage, potentially conferred by higher expression of neuroprotective genes, might better regulate their energy supply and preserve centrality despite structural damage.

MS patients also showed lower centrality in key SN regions, including the insular cortex [25], as well as in the cerebellum [25, 75] compared to HC. This pattern correlated with the physiological expression of genes involved in cytokine signalling and predominantly expressed in astrocytes, neurons, and endothelial cells. In MS, pro-inflammatory cytokines have detrimental effects on resident CNS cells [76, 77], and this could be particularly pronounced in regions with higher cytokine sensitivity, as indicated by their elevated gene expression in the healthy brain. These findings suggest that higher cytokine signaling gene expression in the insula and cerebellum may contribute to the observed lower centrality in MS patients. Additionally, this could help explain why these regions are particularly prone to developing focal GM lesions, as shown in pathological studies [78, 79]. WM damage affecting long-range connections could also contribute to the reduced centrality observed in these regions [25].

When looking at disease phenotypes, compared to RRMS patients and HC, PMS patients showed significantly higher centrality in DMN regions [25, 80]. This finding likely reflects more extensive structural damage, which intensifies maladaptive network reorganization around brain hubs [5, 7, 30, 31]. This pattern of higher centrality correlated with the expression of genes involved in epigenetic regulation and primarily localized in the nucleus. Epigenetic modulation in these regions may allow for greater adaptability to environmental stressor and contribute to the ability to modulate gene expression in response to pathological stimuli [81,82,83]. Moreover, these regions showed higher expression of genes located in the mitochondrial matrix, which likely reflects the high energy demands of brain hubs, given the costly nature of their long-range neural connections [84]. Higher mitochondrial energy production capacity may also contribute to their relative resilience to MS-related damage. Importantly, these genes were ubiquitously expressed across CNS cell types, highlighting their fundamental role in cellular homeostasis [85].

PMS patients also showed lower centrality in SN regions and deep GM nuclei compared to HC and RRMS patients, as previously observed [6, 25]. However, no significant cross-correlations with transcriptomic data were found, possibly due to the heterogeneity of pathological mechanisms in PMS [1, 86].

Compared to cognitively preserved MS patients and HC, cognitively impaired MS patients showed higher centrality in the DMN, as well as in bilateral mesial temporal lobe and orbitofrontal cortex, regions where higher RS FC has been consistently associated with cognitive impairment [13, 15, 25, 30, 87]. This rigid hub-centered connectivity aligns with reduced cognitive efficiency and network overload [30, 88]. This pattern of higher centrality was spatially correlated with a lower physiological expression of genes DNASE1 and CP, two genes with potential implications for neurodegeneration. DNASE1 encodes an enzyme responsible for DNA degradation and is involved in apoptosis and DNA clearance [89]. In the CNS, this gene is primarily expressed in neurons and astrocytes, where it is involved in apoptotic DNA fragmentation in mature neurons [90]. Lower expression of DNASE1 in specific DMN regions may impair DNA clearance, driving chronic inflammation and affecting long-range connections.

Conversely, CP encodes ceruloplasmin, a protein involved in copper and iron homeostasis. In the CNS, it regulates iron metabolism [91]. Iron accumulation in MS contributes to neurotoxicity through oxidative stress and ferroptosis [92]. Higher levels of ceruloplasmin in astrocytes and axons have been found in periplaque WM, indicating that astrocytes may be responsible for the efflux and the accumulation of iron in areas of slowly expanding lesions, therefore promoting demyelination and neurodegeneration [93]. Regions with lower physiological CP expression may have a more limited iron metabolism, potentially reducing their susceptibility to iron-driven neurotoxicity.

Cognitively impaired MS patients also showed lower centrality in small clusters of the deep GM nuclei and SMN. This pattern was previously described [7, 94], but no significant cross-correlations with transcriptomic data were observed. This may be due to the smaller, more dispersed abnormality maps and the heterogeneous microarray sampling in the AHBA dataset among individual donors.

Of note, RRMS patients and cognitively preserved MS patients show no significant suprathreshold abnormalities consistent with early, subtle RSN reorganization [12, 95] that becomes more evident in advanced disease [7].

Interestingly, our results, when considered alongside a previous study that employed similar methods to investigate GM atrophy in MS [35], provide additional insights into the potential relationship between physiological gene expression and MRI abnormalities in MS. The previous study identified higher expression of genes related to GABA neurotransmission and lower expression of genes associated with mitochondrial function in regions exhibiting GM atrophy [35]. In contrast, our results demonstrated increased expression of mitochondria-related genes in regions with higher centrality in PMS patients. This suggests that brain regions naturally more vulnerable to mitochondrial dysfunction may be more prone to GM atrophy, whereas regions with greater energy production capacity may be relatively preserved, leading to higher centrality. The absence of other overlapping enriched pathways between the two studies highlights the complex and heterogeneous nature of MS pathology, suggesting that distinct structural and functional abnormalities may arise from different underlying biological mechanisms.

Our study has several limitations. First, we cannot establish a causal relationship between specific gene expression and RSN reorganization, since our MRI data were derived in vivo from MS patients and HC, whereas the AHBA dataset is based on post-mortem brains. Accordingly, our findings only suggest potential associations between regional gene expression and the susceptibility of different brain areas to MS-related pathological abnormalities. Second, regional gene expression may be influenced by MS pathology or DMTs, which could not be explored in our study because transcriptomic data were only available from HC. The potential impact of MS-related pathology or pharmacological interventions on gene expression needs to be explored in future studies. Third, cognitive data were available only for a subgroup of MS patients, reducing the sensitivity of our analysis. However, this subgroup represents approximately 88% of the MS study population, making it a representative sample. Fourth, MRI acquisitions were obtained from two different scanners. However, voxel-wise degree centrality analyses have been successfully conducted in multicentre studies without significant harmonization issues [25], and all our MRI analyses were statistically corrected for scanner-related differences. Fifth, the location and distribution of MS-related focal and diffuse WM and GM damage can strongly influence disease-specific patterns of functional reorganization, thus contributing to the functional network abnormalities observed in our study [96, 97]. Even a single strategically located WM lesion can trigger widespread connectivity alterations [96], whereas specific spatial patterns of WM lesions may be associated with distinct regional cortical atrophy, predicting different risk of disability progression [97], and possibly also promoting heterogeneous RSN reorganization. In contrast, our study is based on physiological spatial gene expression, which may identify brain regions that are intrinsically more or less vulnerable to functional alteration. Thus, while the spatial transcriptomic signatures we identify might represent a biological predisposition for network reorganization, the actual functional abnormalities observed in MS are likely shaped by the additional effects of lesions, microstructural abnormalities, and atrophy. Future studies should further explore how intrinsic biological factors interact with MS-related pathological processes to drive the observed fMRI–gene expression relationships.

Sixth, we chose a liberal threshold (p < 0.01, uncorrected) for initial spatial cross-correlations. However, this approach is commonly used in studies employing AHBA [37, 49, 50], as large regions of interest are necessary due to the limited sampling density of brain donors. Moreover, the risk of false positives was minimized through second-level analyses employing stringent statistical corrections. Finally, even though age was included as a covariate in all voxel-wise and conventional MRI analyses, residual confounding due to age cannot be completely excluded.

In conclusion, our findings support the hypothesis that RSN reorganization in MS is influenced by the intrinsic resilience of brain hubs, mediated by regional gene expression. Our work provides valuable insights into the molecular pathways contributing to functional network dysfunction in MS. Future research should aim to establish causal relationships and identify potential therapeutic targets to mitigate maladaptive network changes associated with clinical disability and cognitive impairment in MS.