Introduction

End-stage renal disease (ESRD), the most severe stage of chronic kidney disease, is defined as an estimated glomerular filtration rate less than 15 mL/min/1.73 m2. As a growing global public health problem1, ESRD patients are at a significantly higher risk of developing brain dysfunction, such as cognitive impairment2, sensorimotor abnormalities3, and mood disorders4, than the general population. In addition to the characteristic clinical symptoms of uremia3,5,6, including uremia pruritus, frailty, anxiety, depression, and fatigue, neuropsychological studies reveal that ESRD patients demonstrate deficits in low-level sensory processing7,8 (e.g., pain perception, sensorimotor processing) and higher-order cognitive functions2,9 (e.g., learning, attention, memory, decision making, and reasoning). Our previous studies have revealed widespread brain structure and function abnormalities in ESRD patients10,11,12,13, but the neural mechanisms underlying these diverse sensory-cognitive deficits remain largely unknown.

Resting-state functional MRI (R-fMRI) has been established as an important neuroimaging tool for identifying the neuropathological mechanisms underlying sensorimotor abnormalities and higher-order cognitive impairment in ESRD patients by analyzing blood oxygen level dependent (BOLD) signals12,13,14,15,16,17. These neuroimaging studies mainly focused on aberrant functional connectivity in the core regions of the default mode network (DMN), such as the medial prefrontal cortex (mPFC) and precuneus12,14, decreased functional connectivity in core regions of the sensorimotor network15, abnormal interactions between the cognitive control network and affective network16, and complex relationships between DMN isolation, gut microbiota, and systemic inflammation17. However, previous network results were analyzed based on separate analytical frameworks, i.e., they all involved networks processed at similar levels, which hardly reflected the hierarchical characteristics of brain macroscale organization in ESRD patients.

A cortical hierarchical architecture is one of the basic organizing principles of the human brain, which enables the process of encoding and integrating information from sensation to cognition18. Recent advances in conceptual and methodological studies have revealed that macroscale brain organization and hierarchical features are reflected in a compact manner using multivariate machine learning approaches that map to low-dimensional manifold representations, described as cortical gradients19,20. Researchers can use the gradient decomposition framework of R-fMRI to decompose the functional brain network into different gradient components and present relative differences in connectivity patterns among regions along a continuous spectrum to capture the topological properties of the connectomes19,21. The first principal gradient describes a continuous transition of neural function that anchors unimodal primary sensorimotor areas and high-order transmodal DMN regions at two opposite ends of a spectrum22. Additionally, the second principal gradient separates the somatomotor and auditory cortex from the visual cortex, whereas the third principal gradient represents the hierarchical cortical axes of multiple demand-rest patterns19,23. The principal gradients have been widely revealed to characterize hierarchical cognition processes of language, working memory, and attention24,25, as well as perturbations in various mental and neuropsychiatric disorders such as major depressive disorder26, autism27, schizophrenia28,29, and epilepsy30. Previous studies have demonstrated aberrant intrinsic brain activity and functional connectivity that involves the primary sensorimotor regions and transmodal DMN in ESRD patients, which are related to sensory-cognitive deficits and clinical risk factors (e.g., uremic toxin accumulation12,14, anemia16, systemic inflammation17, calcium and phosphorus metabolism disorders15,16). However, no research has yet revealed whether and how the functional connectome gradients are disrupted in these patients, or whether such disruptions could serve as potential biomarkers for clinical symptoms.

To address these gaps, we collected various clinical and R-fMRI data from 77 ESRD patients and 48 healthy controls (HC). The Neurosynth (https://neurosynth.org/) platform31 was used to investigate the association between ESRD-related functional gradient alterations and meta-analytic cognitive terms. Furthermore, multiple machine learning classification models were utilized to investigate the discriminative power of connectome gradient features derived from ESRD patients and controls. Specifically, we hypothesized that (i) the principal gradients are disrupted in ESRD patients in terms of both global and focal connectome gradient metrics of primary sensorimotor and transmodal systems; (ii) the regions with alterations of connectome gradient are associated with multiple functional domains and ESRD-related clinical risk factors involving uremic toxin accumulation, calcium and phosphorus metabolism disorders, systemic inflammation, and mood disorder. Our findings demonstrated that the dysfunctional regions within these core connectome gradients functioned as neurological biomarkers for ESRD. This highlights their significance in elucidating the large-scale brain organization as well as the hierarchical characteristics that underpin ESRD and its associated cognitive phenotype.

Results

Demographic, clinical, and neuropsychological results

Figure 1 shows the entire process of patients with ESRD from screening to inclusion. Table 1 shows demographic and clinical data for each group. No significant between-group differences in age, sex, or educational level were observed. ESRD patients demonstrated poorer performances in subitems of auditory verbal learning test-Huashan version (AVLT-H) (immediate recall [P < 0.001], long-term recall [P < 0.001], and recognition [P = 0.004]) and subitems of MoCA (total score [P < 0.001], visuospatial [P < 0.001], name [P = 0.032], language [P < 0.001], abstraction [P < 0.001], and delayed memory [P < 0.001]) compared with the HC group in terms of neuropsychological tests. Furthermore, ESRD patients exhibited poorer performances in TMT (P < 0.001), BAI (P < 0.001), and BDI (P < 0.001) compared with the HC group.

Fig. 1
Fig. 1The alternative text for this image may have been generated using AI.
Full size image

Flowchart demonstrating the phases in patients with end-stage renal disease from screening to inclusion and completion of the study.

Table 1 Demographic, clinical characteristics, and neuropsychological assessment in ESRD patients and HC

Alterations in the connectome gradients in ESRD patients

We primarily focused on ESRD-related alterations in the first three components, which explained 38% of the variance. The first principal gradient explained 15.6% ± 1.9% of the total connectivity variance (ESRD, 15.7% ± 2.0%; HC, 15.5% ± 1.7%), which showed a gradual axis from the low-level primary visual/sensorimotor networks (VIS/SMN) to the transmodal DMN, with intermediary networks in between (Fig. 2a), replicating the recent functional connectome gradient data in healthy adults19. Gradient 2 explained 12.5% ± 1.5% of the total connectivity variance (ESRD, 12.4% ± 1.4%; HC, 12.8% ± 1.5%), which extended between the SMN and the VIS (Fig. 2b). Gradient 3 explained 10.2% ± 1.0% of the total connectivity variance (ESRD, 10.0% ± 0.9%; HC, 10.4% ± 1.0%), which extended between the SMN and the VIS (Fig. 2c). The between-group statistical comparisons of global gradient metrics revealed that the primary-to-transmodal gradient (gradient 1) in ESRD patients demonstrated less spatial variation than that in HC [P < 0.05, false discovery rate (FDR) corrected, Fig. 3a].

Fig. 2: Connectome gradient mapping in ESRD patients and HC.
Fig. 2: Connectome gradient mapping in ESRD patients and HC.The alternative text for this image may have been generated using AI.
Full size image

a Gradient 1 was organized along a gradual axis from VIS/SMN to DMN. b, c Gradient 2 and gradient 3 extended between the SMN and the VIS. ac Regions with similar connectivity patterns demonstrate similar coloring. The gradients were overall similar between-group, while lower/higher values in ESRD patients are presented as blue/red. The statistical significance level was set as P values of < 0.05 after FDR correction. df Global histograms of the gradients 1–3 showing contracted extremes in ESRD patients relative to the HC range, whereas those of gradient 1 and gradient 3 in the middle axis increased and gradient 2 in the midrange decreased. gl. System-based analysis of the gradient score between-group. VIS visual network, SMN sensorimotor network, DAN dorsal attention network, VAN ventral attention network, LIM limbic network, FPCN frontoparietal network, DMN default mode network.

Fig. 3: Statistical comparison of gradient metrics.
Fig. 3: Statistical comparison of gradient metrics.The alternative text for this image may have been generated using AI.
Full size image

a Between-group differences in global metrics of the first three gradients. b Between-group differences in gradient scores and correlations with clinical and cognitive variables across all patients. c Word clouds of cognitive functions associated with brain regions showing lower (blue) or higher (red) between-group gradient scores. The resulting font size of the cognitive term corresponds to the correlation coefficient (r) of the between-group Z-map of the first three gradients and the meta-analytic map of that word generated by Neurosynth. All correlations were significant (P < 0.05, FDR corrected).

The between-group comparison of gradient 1 revealed decreases in ESRD patients mainly located in the transmodal mPFC, dorsal prefrontal cortex (dPFC), inferior parietal lobule (IPL), precuneus/posterior cingulate cortex (pCun/PCC), and middle temporal gyrus, together with increases mainly located in the somatomotor and visual cortices (Fig. 2a and Supplementary Table 1). A global histogram of gradient 1 revealed contracted extremes in ESRD patients relative to the HC range, whereas those in the middle axis increased (Fig. 2d). At the system level, ESRD patients demonstrated lower gradient scores in the DMN and frontoparietal network (FPCN) but higher scores in the SMN and VIS than the HC group (FDR corrected, Fig. 2g, j, Supplementary Table 4).

The between-group comparison of gradient 2 revealed decreases in ESRD patients located in the mPFC and dorsolateral prefrontal cortex, together with increases mainly located in the somatomotor cortex and insula (Ins) (Fig. 2b and Supplementary Table 2). The histogram of gradient 2 revealed contracted extremes in ESRD patients relative to the HC range, whereas those in the middle axis decreased (Fig. 2e). At the system level, ESRD patients demonstrated lower gradient scores in the FPCN but higher scores mainly in the SMN, the ventral attention network (VAN), and VIS than the HC group (FDR corrected, Fig. 2h, k, Supplementary Table 4).

The between-group comparison of gradient 3 revealed decreases in ESRD patients located in the mPFC, dPFC, and somatomotor cortex, together with increases mainly located in the posterior-medial frontal cortex (mpPFC), ventrolateral prefrontal cortex (vlPFC), and orbitofrontal cortex (Fig. 2c and Supplementary Table 3). The histogram of gradient 3 revealed contracted extremes in ESRD patients relative to the HC range, whereas those in the middle axis increased (Fig. 2f). At the system level, ESRD patients demonstrated lower gradient scores in the DMN and SMN but higher scores in the FPCN than the HC group (FDR corrected, Fig. 2i, l, Supplementary Table 4).

Clinical and neuropsychological variables associated with gradient alterations in ESRD patients

The correlation analysis of between-group gradient differences and clinical characteristics indicated a positive association between the somatomotor cortex of gradient 2 and serum creatinine levels in ESRD patients (Pearson correlation: r = 0.464, P = 0.002). The correlation analysis of between-group gradient differences and neuropsychological scores showed that the dPFC of gradient 2 was negatively correlated with BDI scores in ESRD patients (Pearson correlation: r = −0.388, P = 0.045), while Ins of gradient 1 was positively correlated with subitem of MoCA (name) scores of ESRD patients (Spearman correlation: r = 0.419, P = 0.013) (Fig. 3b).

Meta-analytic cognitive functions related to gradient alterations in ESRD patients

Figure 3c and Supplementary Tables 57 showed the results of meta-analytic cognitive terms. The regions with higher scores of gradient 1 in ESRD patients were correlated with several meta-analytic cognitive terms mainly involved in motor and sensory processes such as motor, somatosensory, and sensorimotor processes. The regions with lower gradient 1 scores in ESRD patients were correlated with several high-order cognitive terms, including semantic, comprehension, language, and mind. The regions with higher scores of gradient 2 in ESRD patients were correlated with motor, movement, somatosensory, executive, vocal, and sensory processes. The regions with lower gradient 2 scores in ESRD patients were correlated with several high-order cognitive terms, including reward, choice, autonomic process, and decision making. Regions with higher scores of gradient 3 in ESRD patients were correlated with high-order cognitive terms, including cognitive control, response inhibition, and conflict processes, whereas regions with lower scores of gradient 3 were correlated with guide and internally oriented cognitive processes.

Feature selection and classification based on ESRD-related gradient alterations

After the dimension reduction using the least absolute shrinkage and selection operator (LASSO) method (Supplementary Fig. 2), 93 feature metrics from between-group differences of the gradient scores were reduced to 10 features as input into seven classifiers to develop the corresponding classification models (Supplementary Fig. 3). These regions include: the right dPFC, right mpPFC, and left visual cortex in gradient 1, the right somatomotor cortex and left insula in gradient 2, and the right dPFC, the vPFC, and bilateral vlPFC in gradient 3. Finally, we used the 10-fold cross-validation to obtain the accuracy, sensitivity, specificity, and area under the curve (AUC) of the seven models. Among them, the accuracy and AUC of logistic regression were 84.8% and 0.901, respectively, which was better than those of the other classifier algorithms (Fig. 4a, Supplementary Tables 8 and 9). Figure 4b reveals the feature correlation heatmap. Supplementary Fig. 3 revealed that the top three contributing features were the right sensorimotor cortex of gradient 2, the right dPFC of gradient 3, and the left visual cortex of gradient 1.

Fig. 4: Performance of machine learning algorithms for classification.
Fig. 4: Performance of machine learning algorithms for classification.The alternative text for this image may have been generated using AI.
Full size image

a ROC curve of the classifiers. The accuracy and AUC of logistic regression were 84.8% and 0.901, respectively, which was better than those of the other classifier algorithms. b Features correlation heatmap. ROC receiver operating characteristic, AUC area under the curve, KNN k-nearest neighbor, SVM support vector machine, DT decision tree, RF random forest, GBDT gradient boosting decision tree.

Validation analyses

The results of validation analyses supported the robustness of our findings. Firstly, with respect to the between-group functional gradient metrics (the global, system, and regional levels) obtained under the temporal filtering with the ranges of 0.008–0.09 Hz demonstrated a high degree of similarity to those derived from the ranges of 0.01–0.08 Hz (Supplementary Fig. 1 and Supplementary Tables 1013). Secondly, the results of the leave-one-out cross-validation (LOOCV) method were in general concordance with those obtained from the 10-fold cross-validation approach (Supplementary Figs. 46 and Supplementary Tables 14 and 15). Finally, no significant differences in the mean framewise displacement (FD) values between-group (Supplementary Fig. 7).

Discussion

This is the first study to reveal connectome gradient dysfunction in ESRD patients and its association with clinical phenotype and cognitive deficits. Whether at the global, system, or regional levels, we revealed gradient metric abnormalities in core regions of the DMN, SMN, and FPCN in ESRD patients, which were associated with multiple functional domains. Serum creatinine accumulation and cognitive impairment might be associated with the disruption of the SMN and DMN in ESRD patients. Machine learning classification results revealed that gradient features of the core regions in the DMN and SMN can be used to discriminate ESRD patients from HC. Our results emphasized the imbalances in the functional connectome hierarchy in ESRD patients, which might be used as potential neuroimaging markers for clinical symptoms.

Network hierarchy has been widely known as a key principle of human brain organization, and gradients are thought to guide the direction of information flow through the cerebral cortex, making sensory signals increasingly associated with other information and being translated into more abstract cognitive representations20,22. Our principal connectome gradient mapping revealed that both groups demonstrated a gradual axis from the low-level VIS and SMN to the transmodal DMN with intermediary networks in between. However, the smaller variance, contracted extremes, and increased midrange of the principal gradient represent a less differentiated connectivity pattern between the primary sensorimotor and transmodal DMN areas in ESRD patients. ESRD patients demonstrated lower gradient scores in the DMN but higher scores in the SMN and FPCN than the controls at the system level. Previous neuroimaging studies have revealed abnormal spontaneous neural activity and functional connectivity in the DMN hubs12,14,17, such as mPFC, pCun/PCC, and IPL, associated with cognitive deficits in ESRD patients. Some sensorimotor symptoms in ESRD patients, such as restless leg syndrome, have recently been thought to be associated with abnormal functional connectivity in SMN15. The present results revealed a diminished segregation in ESRD patients between sensorimotor and executive control regions such as mpPFC, on the one hand, and transmodal hubs such as mPFC, IPL, and pCun/PCC on the other hand. The DMN is at a maximal geodesic distance from visual and sensorimotor systems in both anatomical space and functional connectivity19, indicating that neural activity in the DMN regions is probably comparably insulated from direct environmental input32. The maximum spatial separation and differentiation in the physical distance and connectivity dissimilarity guarantee the complete processing route from mapping concrete stimuli to integrating abstract concepts33, while increasing the difference between primary and transmodal areas, avoiding interference from input noise, and facilitating abstract cognitive formation34. Altogether, this study provided integrative evidence that cortical hierarchy organization dysfunction underlies system-level pathological interactions of sensorimotor and cognitive functions in ESRD patients.

One fundamental role of human neuroimaging is brain “decoding,” inferring a person’s cognitive state from their observed brain activity. Our previous neuroimaging studies have found that cognitive impairment in patients with ESRD were associated with decreased neural activity16,35, demyelination13, abnormal cerebral perfusion11, and neurovascular decoupling10, which were closely related to creatinine, urea, and hemodialysis adequacy. In this study, we focused on large-scale functional gradient abnormalities in patients with ESRD, and further explored the correlation between such gradient abnormalities and clinical indicators and cognitive scales. Our results indicated that subterm of MoCA (name scores) were significantly positively correlated with the gradient value of the insula, while depression scores were significantly negatively correlated with the gradient value of the dPFC. These results suggest the basis of large-scale functional hierarchy structure of cognitive impairment and mood disorders in ESRD patients. In addition, by using the “decoder” function in the Neurosynth framework31, our meta-analytic cognitive results confirm that ESRD-related connectome gradient dysfunction were located in brain regions that involve multidomain cognitive functions, including lower-order sensorimotor processes and higher-order functions. The brain areas with lower functional gradient scores in ESRD patients were associated with higher-order cognitive functions, such as comprehension, language, reward, and executive function, whereas the areas with higher functional gradient scores were associated with sensorimotor functions, such as motor, somatosensory, and sensorimotor processes. ESRD patients frequently have motor control, sensory disorders, and higher-order cognitive deficits2,36,37. Therefore, our results provide macroscale connectome gradient evidence for the underlying neural mechanisms of lower-order sensorimotor and higher-order cognitive impairment in ESRD patients.

The underlying brain injury mechanism of cognitive impairment in ESRD patients remains unclear, and one of the most important factors is the damage of brain structure and function caused by the disruption of the blood-brain barrier by urotoxic neurotoxins (such as creatinine, etc.)2. Patients with ESRD are associated with diverse sensorimotor disorders, such as restless leg syndrome and uremic pruritus, which were related to uremic toxin accumulation such as creatinine caused by inadequate dialysis treatment38,39. As a small molecule water-soluble uremic toxin40, serum creatinine level in ESRD patients was significantly positively correlated with gradient scores of the sensorimotor regions, indicating the role of uremic toxin in ESRD-related connectome gradient dysfunction. Although we did not evaluate the symptoms of uremic restless legs and uremic pruritus in ESRD patients, the results of meta-analytic cognitive terms also found that higher gradient values of the sensorimotor network was closely related to sensorimotor symptoms. Our previous neuroimaging studies have found that hemodialysis adequacy index (Kt/V) and uremic toxins (creatinine and urea accumulation) were associated with cognitive impairment and cerebral neurovascular discoupling in ESRD patients10, while a single hemodialysis treatment significantly reduce the circulation of uremic toxins such as creatinine, thereby improving cognitive function and neurovascular coupling11. Therefore, the results of this study found that the accumulation of creatinine in the blood circulation of ESRD patients is closely related to the gradient dysfunction of the sensorimotor area of the brain, which may suggest that clinical practice should improve sensorimotor disorders in ESRD patients from the perspective of adequate dialysis of uremic toxins.

Moreover, various machine classification models were used to capture the connectome gradient pattern information underlying ESRD. Most connectome gradient features with high discriminative power were mainly located in the PFC (dPFC, vPFC, vlPFC, and mpPFC) sensorimotor cortex, pCun/PCC, and insula. The PFC is a set of interconnected regions that have a unique but overlapping connectivity pattern with almost all sensory cortex and motor systems, as well as various subcortical structures41,42. The dPFC and mpPFC are closely associated with cortical areas that emphasize information about motor and visuospatial processes, whereas the vlPFC is more heavily interconnected with cortical areas that emphasize stimulus identity and visual form information, and the vPFC is more associated with subcortical structures that process “internal” information such as homeostasis. The pCun/PCC is a highly connected and metabolically active brain region that internally supports directed cognition, episodic memory retrieval, visuospatial imagery, and self-processing operations43,44. The insula has various functions, ranging from sensory processing to representing feelings, motor control, decision making, self-awareness, and complex social functions45. Several previous studies have indicated disordered brain function and abnormal brain microstructure in ESRD patients, with abnormal regions mainly located in the PFC, sensorimotor cortex, cingulate cortex, and Ins15,35,46,47. Our results indicated that these core connectome gradient dysfunctional regions served as neurological biomarkers of ESRD, emphasizing their importance for understanding the macroscale brain organization and hierarchical features underlying ESRD and its cognitive phenotype.

This study has several limitations. First, we did not evaluate sensorimotor symptoms in ESRD patients, such as uremic restless leg syndrome and uremic pruritus. Alternatively, we used the Neurosynth platform to investigate the association between ESRD-related functional gradient alterations and meta-analytic cognitive terms. Second, we didn’t rule out the potential influence of drugs on cognition, such as erythropoietin48, antihypertensive drugs49, and Vitamin D50, which are required for ESRD. Third, ESRD patients, who frequently have complaints of pain51 and fatigue52, were not assessed for the severity of these symptoms in the current study. These variables should be documented in future studies to evaluate their effects on cognition and functional gradients in ESRD. Fourth, the R-fMRI data acquisition included 185 functional volumes, which is slightly insufficient in quantity for data analysis. We also did not scan the field map to better correct the image distortions. Patients with chronic kidney diseases, especially those with ESRD, are unable to lie flat and remain still for a long time to complete the entire MRI scan. Therefore, on the basis of ensuring the quality of the T1-weighted structural images and R-fMRI images, we ultimately chose this protocol, which has been applied in our previous R-fMRI studies on ESRD patients10,11,16,35. Subsequent research will optimize the scanning parameters to guarantee the quality of the R-fMRI. Finally, although sex and age differences did not reach statistical significance in the between-group comparisons, they approached marginal significance. Therefore, when comparing the differences in gradients and cognitive scale scores between-group, we incorporated age, sex, and education level as covariates in the regression analysis to control for potential confounding effects.

Materials and methods

Participants

This study was registered at ClinicalTrials.gov and approved by the local Research Ethics Review Board (NCT03191409, https://clinicaltrials.gov/ct2/show/NCT03191409) (Approval No. 2020G64). All experiments were conducted under the Declaration of Helsinki, and all participants signed written informed consent. This study enrolled 77 right-handed ESRD patients (50 males, 27 females; mean age: 34 ± 10.05 years) undergoing maintenance hemodialysis between July 2020 and January 2023 (Fig. 1 and Table 1). All patients had a dialysis duration of >3 months. The exclusion criteria were ages <18 or >60 years, (2) psychiatric disorders or neurodegenerative disorders, (3) brain lesions (hemorrhage, head trauma, tumor, stroke, or encephalomalacia) based on conventional MRI or medical history, (4) smoking, alcohol, or drug abuse, (5) diabetic nephropathy, (6) visual or auditory disturbances (hearing loss, blurred vision, and other clinically relevant symptoms incompatible with a neuropsychological assessment), and (7) claustrophobia or other MR contraindications. The local community using advertisements recruited 48 right-handed, demographically matched HC (23 males, 25 females; mean age: 31 ± 8.16 years). The inclusion criteria for HC were age 18–60 years with no relevant medical history of neurologic, systemic, or psychiatric disease.

Clinical characteristics and neuropsychological assessment

Demographic characteristics and clinical data were collected from medical records. The underlying causes of ESRD included glomerulonephritis (n = 58), immunoglobulin A nephropathy (n = 12), and membranous nephropathy (n = 7). All ESRD patients had been receiving hemodialysis three times a week with a short midweek dialysis interval. The hemodialysis treatment lasted for ~4 h. with a mean kinetic transfer/volume urea (Kt/V) of >1.253. On the day before hemodialysis treatment, all patients underwent neuropsychological tests in a quiet room and blood tests. The neuropsychological tests included the AVLT-H, Montreal cognitive assessment (MoCA), and trail-making test (TMT), which were used to assess participant’s global cognitive function, visuospatial skill, attention, orientation, language, conceptual thinking, executive function, and memory. Further, the Beck depression inventory (BDI) and Beck anxiety inventory (BAI) were administered to evaluate the mood disorder.

MR data acquisition and preprocessing

The MRI protocols included T1-fluid attenuated inversion recovery images (T1-FLAIR), T2-weighted periodically rotated overlapping parallel lines with enhanced reconstruction (T2-PROPELLER) images, individual high-resolution T1-weighted structural images, and R-fMRI scans for all participants. T1-FLAIR and T2-PROPELLER images were scanned to exclude intracranial lesions. All data for each participant were obtained using a Discovery MR750 3.0 T MR scanner equipped with an eight-channel phased-array head coil. Participants were instructed to lie quietly with their eyes closed and remain awake during the scan. Suitable foam padding and earplugs were used to reduce head motion and noise. The procedure was discontinued if any participant was uncomfortable or unable to complete the scan. After completing the scan, all participants were requested to verify their cooperation. The anatomical and functional data preprocessing were performed using fMRIPrep v23.1.454 and the eXtensible Connectivity Pipeline55,56. All procedures were described in the supplementary materials.

Connectome gradient analysis

We used the open software BrainSpace (https://github.com/MICA-MNI/BrainSpace)21 to generate the connectome gradients for each participant. We first constructed a functional connectivity matrix for each individual by calculating Pearson’s correlation coefficients of time series between each pair of brain regions defined using the Schaefer 7-network-based atlas with 400 parcels57. The top 10% connections of each region were retained, representing the most typical connectivity profile of the connectome, and the resulting correlation coefficients were transformed by Fisher’s r-to-z. The cosine similarity between each pair of regions based on the threshold connectivity profiles was calculated, taking advantage of the applicability of sparse vectors. We then applied diffusion map embedding19,58, a nonlinear dimensionality reduction approach that is relatively robust to noise and computationally inexpensive, to capture the principal gradient components that could explain connectome variance in descending order of the functional connectome. Diffusion map embedding transformed the relationships of the connectivity profiles into distances in the high-dimensional embedding space, ensuring a stable connectivity pattern representation, which created network regions with similar connectivity patterns spatially closer together in this space, whereas regions with only little or no interconnectivity are farther apart. Based on previous study recommendations19,58, we set the manifold learning parameter of α = 0.5 in the diffusion embedding process to retain the global relations. The resultant gradient maps were further analyzed to align across individuals using Procrustes rotation27. We primarily focused on ESRD-related alterations in the first three components, which explained 38% of the variance. We then mapped back these components onto the cortical surface to visualize macroscale transitions in overall connectivity patterns at the system level27.

For each gradient map, three global gradient metrics including the variance, range, and explanation ratios, were calculated. Specifically, the explanation ratio indicates the percentage of connectivity variance accounted for by a given gradient. A higher explanation ratio suggests that the embedding axis of this gradient captures a more dominant organizational pattern in the functional connectome. The gradient range measures the difference between the maximum positive and negative values across brain regions in a given gradient. A larger range indicates a greater differentiation in the encoded connectivity pattern between the regions localized at the gradient ends. The gradient variance represents the standard deviation of gradient scores across the brain. A higher value indicates stronger heterogeneity in regional connectivity architecture. A general linear model with age, sex, and education level as covariates was used to assess the between-group differences in functional connectome gradients. For the global gradient metrics, the statistical significance threshold was set to P < 0.05. For the surface-based gradient score maps. the statistical significance threshold was set to P < 0.05 after FDR correction.

Statistics and reproducibility

Association analysis of between-group gradient alterations, clinical characteristics, and neuropsychological variables

The between-group differences in demographics (age and educational level) and neuropsychological variables were compared using Kolmogorov–Smirnov, Levene’s, and independent two-sample t-tests (Kolmogorov–Smirnov test for normality, Levene’s test for determining the equality of variances, and Student’s t-test for equality of means) with Statistical Package for the Social Sciences (version 22.0, SPSS Statistics, IBM, Armonk, NY). A Chi-square test was used to test the between-group difference in gender ratio. Multiple linear regression analysis was utilized to correct the effect of age, sex, educational level, and mood disorder on the between-group differences in neuropsychological results. Pearson or Spearman correlation analysis was used to assess the relationships between gradient alterations and clinical characteristics and between gradient alterations and neuropsychological variables. The significance threshold was set to P values of <0.05 after FDR correction.

Association analysis between ESRD-related gradient alterations and meta-analytic cognitive terms

We used Neurosynth31 (https://neurosynth.org/) to investigate the association between ESRD-related alterations of the first three connectome gradients and meta-analytic cognitive terms. First, we divided the between-group differences in each gradient into ESRD-positive (i.e., ESRD > controls) and ESRD-negative (i.e., ESRD < controls) maps. Second, we analyzed the resultant maps using the “decoder” function in Neurosynth to calculate the spatial correlation between these ESRD-positive and ESRD-negative maps and the meta-analytic map of each term in the Neurosynth database (version-7). We then selected the top 30 cognitive terms and further performed permutation tests (10,000 times) and FDR correction in which the spatial autocorrelations were corrected by generative modeling to estimate the significance of the correlation coefficients for each cognitive term.

Feature extraction and machine learning classification based on the ESRD-related gradient alterations

This study used seven commonly used classifiers in Python 3.11 (sklearn), including k-nearest neighbor, logistic regression, support vector machine, decision tree, random forest, gradient boosting decision tree, and XGBoost models, to determine whether between-group gradient alterations could discriminate ESRD patients from HCs. We used the LASSO method to select the most important features as a dimension reduction step to avoid overfitting and enhance model robustness. After performing LASSO, features with nonzero coefficients were retained to produce classification models. We then selected the 10-fold cross-validation strategy, which provides a good estimation of classifier generalizability59,60. A permutation test, which randomly shuffles the label vectors of all participants 5000 times and then performs the same training and testing procedure described above for each permutation, was used to determine the significance of each classification model performance. After 5000 permutations, a null distribution for each model performance metric (accuracy, sensitivity, specificity, and AUC with 95% confidence intervals) was estimated. The P value of the significance of each metric was calculated by dividing the number of times higher than the actual value obtained by the nonpermutation model by the total number of permutations, and P values of < 0.05 were considered statistically significant. Finally, the resultant discriminative weight value for each feature was used to represent the feature contribution to the classification.

Validation analyses

Several validation analyses were conducted to verify the robustness of our results. First, in our main analyses, the BOLD data were preprocessed under the temporal filtering to 0.01–0.08 Hz. Meanwhile, we also set the temporal filtering range to 0.008–0.09 Hz for validation analyses. Second, we calculated and compared the mean FD between-group. Third, we use the LOOCV method as a supplementary validation approach.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.