Introduction

Electroconvulsive therapy (ECT) has been recommended as a first choice for major depressive disorder (MDD) with psychotic features, suicidal attempts, or treatment resistant due to its effectiveness and fast response (van Diermen et al., 2018). Many previous studies (Ota et al., 2015; Joshi et al., 2016; Gryglewski et al., 2019) and meta-analyses (Gbyl & Videbech, 2018; Takamiya et al., 2018; Enneking et al., 2020) reported consistent increment of gray matter volume (GMV) in a wide range of brain regions (Wang et al., 2017; Xu et al., 2019), especially in hippocampus induced by ECT in MDD patients (Joshi et al., 2016; Cao et al., 2018; Leaver et al., 2020). A large number of previous studies have demonstrated that structural plasticity is the underlying mechanism for MDD after ECT, and structural properties could effectively distinguish or predict treatment outputs (Redlich et al., 2016; Jiang et al., 2018). At the same time, efforts were also paid to investigate the role of genetic factors in the etiology of the ECT response (Benson-Martin et al., 2016; Singh & Kar, 2017; Pinna et al., 2018). These studies reported a lot of genes associated with ECT including brain-derived neurotrophic factor (BDNF) (Polyakova et al., 2015), dopamine 2 receptor gene (DRD2) (Bousman et al., 2015), dopamine receptor 3 gene (DRD3) (Dannlowski et al., 2013), and cathechol-o-methyltransferase (COMT) (Tang et al., 2020) but with relatively small sample size. Moreover, an international consortium on genetics of ECT and severe depressive disorders (Gen-ECT-ic) has been established in 2020 with the goal to collect a large sample size of > 30,000 cases to reveal genetic mechanism of treatment response to ECT (Soda et al., 2020). However, whether/how genetic factors account for structural plasticity by ECT in MDD remains unknown.

Recently, the Allen Human Brain Atlas (AHBA, http://human.brain-map.org) microarray dataset which comprises expression level data for more than 20,000 genes covering the whole brain in six donated post-mortem brains provides an indirect way to explore how spatial variations in genes’ expression related to the changes of macroscopic neuroimaging phenotypes. Moreover, a practical pipeline has been set up and has been successfully adopted in various mental disorders for relating brain-wide transcriptomic and neuroimaging data (Arnatkeviciute et al., 2019). For example, the cortical thickness (Anderson et al., 2020), functional correlations and morphometric similarity network (Li et al., 2021, 2023; Yang et al., 2023; Chen et al., 2024; Yu et al., 2024), as well as GMV (Ji et al., 2021) and structural brain network (Liu et al., 2019) in the psychiatric disorders, have been linked to gene expression data in AHBA. Therefore, AHBA provides a good opportunity to investigate relationship between transcriptional data and ECT-induced GMV alterations, which may advance our understanding of biological mechanisms underlying structural plasticity induced by ECT in MDD.

In the current study, we aimed to reveal molecular basis of GMV changes in MDD patients after ECT with longitudinal structural MRI and public AHBA transcriptomic data. First, GMV alterations induced by ECT were analyzed using two independent datasets. Then, the spatial correlations between gene expression levels and GMV alterations were performed using partial least square regression (PLS) to obtain positive associated genes. Only overlapped genes between the two independent datasets were used for further analyses. Third, functional enrichment analysis was conducted using Metascape (https://metascape.org/gp/index.html#/main/step1) to explore ontological pathways of the identified genes. Finally, these genes were further assigned to seven cell types to specify which cell types contributed most to the GMV alterations induced by ECT in the MDD patients. We also performed spatial Spearman correlations between GMV alterations and expression levels of MDD risk genes and ECT related genes. The analytical pipelines were shown in Fig. 1.

Fig. 1
figure 1

The pipeline of data analyses in this study. Individual voxel-wise gray matter volume (GMV) was calculated based on structural MRI data of MDD patients before ECT (TP1) and after ECT (TP2) from two independent datasets. Paired t-tests were used to identify voxel-wise GMV difference maps, i.e., statistical T map. Gene expression data are obtained from six donated brains in the Allen Human Brain Atlas. Gene-wise cross-samples partial least squares (PLS) regressions are performed between gene expression and t maps of GMV differences derived from the two datasets, respectively. The overlap of the genes significantly associated with GMV differences found in the two independent datasets was defined as ECT related genes in MDD patients. Finally, functional enrichment and cell subtype analyses were further performed for these overlapped genes

Materials and methods

Participants

This study included two independent datasets of MDD patients treated by ECT from University of Science and Technology of China (Dataset 1) and Anhui Medical University (Dataset 2) using the same diagnosis, inclusion and exclusion criteria. They were diagnosed as MDD according to Diagnostic and Statistical Manual of Mental Disorders-IV (DSM-IV) criteria and were assigned to ECT since they showed resistance to drug therapy or a severe suicidal tendency. Depression severity was assessed using the 17-item Hamilton Rating Scale for Depression (HAMD) at 12–24 h before the first ECT and 24–72 h after the last ECT. Patients with major neurological or other psychiatric disorders, psychoactive substances, life threatening somatic disease, head trauma followed by unconsciousness for more than five minutes, and MRI-related contraindications were excluded. Moreover, images with poor quality, such as obvious brain lesions, incomplete whole brain coverage, or imaging artifacts were also excluded. Finally, 41 and 23 patients with MDD were kept in dataset 1 and dataset 2, respectively (Table 1). All patients provided written informed consent and the study was approved by the local ethics committees of the Anhui Medical University (Approval number: 20,140,072).

Table 1 Clinical characteristics of major depressive disorder (MDD) subjects

ECT procedures

Modified bi-frontal ECT was performed for all patients using Thymatron System IV Integrated ECT Instruments (Somatics, Lake Bluff, IL, USA). For each patient, the first three sessions occurred on consecutive days in the first week, and the remaining was conducted every other day with a break of weekend. For each session, the initial percent energy was set based on the age of each patient (e.g., 50% for a 50-year-old patient), the stimulation strength was adjusted with an increment of 5% of the maximum charge (approximately 1,000 millicoulombs), and the percent energy was increased until seizure visually observed. The sessions were stopped when a patient’s HAMD score was less than 7. Moreover, propofol, succinylcholine and atropine were used for all patients during ECT. The details for ECT procedures could be found in our previous studies (Wang et al., 2020; Xu et al., 2020; Pang et al., 2022; Li et al., 2023).

MRI data acquisition

In our study, two independent datasets were used. For dataset 1, the structural 3D T1 images were acquired using a clinical 3.0 T Discovery GE 750 scanner. The major parameters were: repetition time (TR) = 8.16 ms, echo time (TE) = 3.18 ms, flip angle = 12°, field of view = 256 × 256 mm2, voxel size = 1 × 1 × 1 mm3 and 188 slices. For dataset 2: the structural 3D T1 images were obtained using a clinical 3.0 T GE 750 MRI scanner. The parameters were: TR = 8.676 ms, TE = 3.184 ms, flip angle = 8°, field of view = 256 × 256 mm2, matrix size = 256 × 256, voxel size = 1 × 1 × 1 mm3 and 188 slices. The structural 3D T1 MRI data were scanned twice for each subject at 12–24 h before the first ECT and 24–72 h after the last ECT.

Data preprocessing

The T1 images were preprocessed using the standard pipeline in the DPABI toolbox (http://rfmri.org/dpabi) with unified segmentation and diffeomorphic anatomical registration through the exponentiated lie algebra (DARTEL). The major steps were: (1) segment each image into gray matter, white matter, and cerebrospinal fluid; (2) normalize the segmented images using the DARTEL; (3) resample all images into a voxel size of 1.5 mm × 1.5 mm × 1.5 mm; (4) modulated by multiplying the voxel values with the Jacobian determinant (transformation matrix during registration) derived from the spatial normalization to account for individual difference; and (5) smoothed with a Gaussian kernel of 8 mm ×8 mm ×8 mm full-width at half maximum for statistical analyses.

Gene expression data processing

The gene expression data was obtained from six donated postmortem brains and only the data in the left hemisphere were used for analyzing to exclude sampling bias using a public available pipeline (https://github.com/BMHLab/AHBAprocessing) (Arnatkeviciute et al., 2019). First, the probes were resigned to genes (latest version) using the Re-annotator toolkit (https://sourceforge.net/projects/reannotator/). Then, a threshold of 50% was used as intensity-based filter. Third, RNA-seq data with highest correlation values was used to select possible probes. Finally, expression data for each participant was normalized by scaling robust sigmoid. As a result, we obtained 10,027 genes for each of 1285 samples.

GMV alterations and associated genes

Paired t-tests were performed within the gray matter mask to identify voxel-wise GMV differences in MDD patients before and after ECT to explore therapeutical effects. Then, spheres with a radius of 4.5 mm (i.e., 3 times of the voxel size) centered in MNI coordinate of each tissue sample (n = 1285) were drawn, and the mean t-value within each sphere was defined as the GMV alteration. To explore the associations with the expression levels of all genes, PLS regression was performed with gene expression data as predictor variables (Abdi & Williams, 2013). The first component of the PLS (PLS1) which was the linear combination of gene expression values most strongly correlated with regional changes in GMV was used in the current study. Then, cross-samples non-parametric Spearman rank test was performed to determine relationship between regional PLS1 weighted gene expression and regional GMV alterations. To estimate the variability of PLS1 score for each gene, bootstrapping with 1000 times was performed. Z scores were defined as the ratio of the weight of each gene to its bootstrap standard error and ranked the genes according to their contributions to PLS1 using univariate one-sample Z tests (Morgan et al., 2019). The set of genes with Z > 5 were considered as positive associated genes (Since all gene expression values and most of the t-statistic values were positive, we only focused on positive associations indicating brain regions with increased GMV showing higher gene expression). This procedure was performed separately for each dataset. The final gene sets were defined as the overlap between the two datasets (interaction).

MDD risk genes analysis

Although hundreds of MDD risk genes have been reported, only 12 highly reliable MDD risk genes defined as the overlap reported in both situ hybridization data and the 10,027 background genes of AHBA data in a previous study were analyzed (Li et al., 2021). The 12 MDD risk genes include ADRA2A, CHRM2, CNR1, HTR5A, CRH, CUX2, GAD2, HTR1A, MAOA, PDE1A, SST and TAC1. Then, we calculated a matrix of 1285 regions × 12 gene expressions. Based on this matrix, cross-sample non-parametric Spearman rank was performed to explore their relationships with GMV alterations. Moreover, the number of comparisons (n = 12) was further corrected with a significance threshold of p < 4.16 × 10− 3 (0.05/12, Bonferroni correction).

ECT related genes analysis

ECT related genes were determined based on previous studies (Nishiguchi et al., 2015; Benson-Martin et al., 2016; Minelli et al., 2016; Pinna et al., 2018; Moschny et al., 2020). The overlap genes between reported ECT genes and the identified 10,027 genes from AHBA dataset were determined and 22 ECT related genes (BDNF, DRD2, COMT, NET1, HTR2A, RGS4, APOE, ACE, VEGFA, VEGFB, VEGFC, RNF175, RNF213, TBC1D14, WSCD1, E2F1, GNB3, SIRT1, KLF4, SOX2, P2RX7, and GRIK4) were finally obtained. Then, we calculated a matrix of 1285 regions × 22 gene expressions. Based on this matrix, cross-sample non-parametric Spearman rank test was performed to explore their relationships with GMV alterations. Moreover, the number of comparisons (n = 22) was used for multiple comparisons correction with significant level at p < 0.05 (a significance threshold of p < 2.27 × 10− 3 = 0.05/22, Bonferroni correction).

Functional enrichment analyses

To understand the biological processes, molecular functions and cellular components of the identified genes, gene ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) were performed for the positively associated genes (Zhou et al., 2019). The top 5% and top 20 items most associated with these genes were shown.

Assign genes to cell types

A recent single-cell study using postmortem human cortical samples assigned genes to different cell types and seven canonical neuron classes including microglia, endothelial cells, oligodendrocyte precursors, oligodendrocytes, astrocytes, excitatory and inhibitory neurons were defined (Seidlitz et al., 2020). Considering cellular diversity in the brain, we assigned positively associated genes to the seven canonical cell classes by overlapping the gene set of each cell type with the positively associated genes.

Results

GMV alterations induced by ECT in MDD patients

A wide range of brain regions showed increased GMV in MDD patients after ECT in both datasets (Fig. 2). GMV of bilateral hippocampus were significantly increased after correction (Gaussian random filed: GRF, a voxel level p < 0.001, and a cluster level p < 0.05) for dataset 1 and maximum statistical difference in bilateral hippocampus was also found in dataset 2.

Fig. 2
figure 2

Gray matter volume (GMV) changes in MDD patients after ECT. (A-B). Paired t-tests were performed to identify GMV changes in MDD patients before and after ECT in dataset 1 and dataset 2 and the statistical t-maps were shown, respectively. (C) The significantly increased GMV of bilateral hippocampus in dataset 1 was found in MDD patients after ECT compared to MDD patients before ECT after GRF correction

Cortical gene expressions related to GMV alterations

We found that the PLS1 weighted gene expression map was spatially correlated with the t-maps in both datasets (Fig. 3A and B). We found that 979 genes showed significantly positive association with GMV alterations in MDD patients after ECT for dataset 1 and 1592 genes for dataset 2. We identified 726 overlapped genes found in both dataset 1 and dataset 2. The top 5 and bottom 5 genes showing largest positive or negative correlations in dataset 1 and dataset 2 were shown ranked as the normalized weights of PLS1 (right panel in Fig. 3A and B).

Fig. 3
figure 3

Correlation between gene expression and gray matter volume (GMV) differences. (A-B) Scatterplots of regional PLS1 scores and regional differences in GMV for dataset 1 (A) and dataset 2 (B) were shown. The top and bottom 5 genes showing highest and lowest PLS1 loadings were shown for dataset 1 (A) and dataset 2 (B)

MDD and ECT related risk genes analysis

For the 12 selected MDD risk genes, expressions of CNR1, HTR1A, MAOA, PDE1A, and SST showed significantly positive associations with GMV alterations indicating that brain samples with higher gene expression had larger GMV increase in MDD patients after ECT (left panel in Table 2). For the 22 selected ECT related genes, expressions of BDNF, DRD2, APOE, P2RX7, and TBC1D14 showed significantly positive associations with GMV alterations (right panel in Table 2).

Table 2 Spatial correlations between gray matter volume (GMV) differences and major depressive disorder (MDD), electroconvulsive therapy (ECT) related risk genes expression level. In the left panel, the spatial correlations between GMV differences and MDD related risk genes were calculated. In the right panel, the spatial correlations between GMV differences and ECT related risk genes were calculated

Enrichment analysis for GMV associated genes

The biological processes, cellular components and molecular functions for these positively associated genes were determined using GO and KEGG analyses. These genes are mainly related to synaptic signaling, cell junction organization, axon, presynapse, calcium and so on (Fig. 4).

Fig. 4
figure 4

Gene enrichment analyses. GO and KEGG analyses for positive associated genes were performed. The size and color of the circle represents the number of genes and cluster identity, respectively

Cell types of overlapped genes

To determine cell types of the ECT associated genes, all the identified overlapping genes we assigned to different cell types. We found that 36 of positively associated genes were mainly expressed in astrocytes, 18 in endothelial cells, 73 in excitatory neurons, 63 in inhibitory neurons, 3 in microglia, 10 in oligodendrocytes and 17 in oligodendrocyte precursors (Fig. 5).

Fig. 5
figure 5

The number of the overlapped genes classified into each cell subtype. To define the main cell subtype of the overlapped genes, we assigned all the overlapped genes into six classic neuron subtypes and the number of each cell type was calculated and exhibited

Discussion

Although previous studies have reported genetic factors or molecular basis associated with ECT in MDD patients, the relationship between macroscopic neuroimaging changes and transcriptomic expression level remains largely unknown. In the current study, using gene expression data obtained from AHBA and two independent structural MRI datasets of MDD before and after ECT, we performed transcription-neuroimaging association analysis to explore how gene expressions accounted for GMV alterations. We found that expression levels of 726 genes showed positive correlations with GMV alterations in MDD after ECT. These genes were mainly enriched for synaptic signaling and cell junction and mostly related to excitatory and inhibitory neurons. These findings provide new evidence for the molecular basis of ECT in MDD.

We identified significantly increased GMV of bilateral hippocampus after ECT in MDD patients, which was consistent with previous findings found in human or animal models. Many previous human studies and meta-analyses reported robust structural plasticity of hippocampus following ECT (Gbyl & Videbech, 2018; Gryglewski et al., 2019; Gbyl et al., 2021). In addition, the previous animal models studies also reported increased microglia (Sepulveda-Rodriguez et al., 2019), neurogenesis and synapse formation (Chen et al., 2009), angiogenesis and proliferation of endothelial cells (Segi-Nishida et al., 2008) and gliogenesis (Jansson et al., 2009) in hippocampus following electroconvulsive shock (ECS). One previous study showed that hippocampal volume increase following ECT is an independent neurobiological effect unrelated to brain-derived neurotrophic factor (BDNF) (Bouckaert et al., 2016), and the other study showed that it is not related to BDNF but is mediated by rs699947 in the premotor region of vascular endothelial growth factor (VEGF) (Van Den Bossche et al., 2019). One possible explanation is that the expression of VEGF could lead to angiogenesis and neurogenesis, thus leading to increase in hippocampal volume.

In addition to hippocampus, a wide range of other brain regions also showed increased GMV in MDD after ECT. By assessing spatial similarity between GMV changes and gene expression levels in AHBA brains, we identified 726 positively associated genes. The enrichment analyses found that these positively associated genes are mainly involved in synaptic signaling pathway. This result is consistent with a previous study which reported that the associated genes with morphometric similarity networks (MSN) changes in MDD also primarily participate in synaptic signaling (Li et al., 2021). One possible explanation is that this pathway influences synaptic maturation and stability in depression (Duman & Aghajanian, 2012), whereas ECS (Chen et al., 2018), even a single administration (Chen et al., 2020), could significantly increase number of synapses. A previous study also demonstrated that ECS causes transient down-regulation of key molecules to stabilize synaptic structure and to prevent Ca2 + influx as well as a simultaneous increase in neurotrophic factors providing a short time window of increased structural synaptic plasticity (Nordgren et al., 2013). Our results together with previous findings offered a better understanding of biological mechanisms underlying structural plasticity induced by ECT in MDD patients and highlight synaptic signaling pathway as potential mechanism of ECT.

Moreover, we found excitatory and inhibitory neurons with the largest proportion of the positively associated genes with ECT-related GMV alterations in MDD patients. The excitatory neurons use glutamate as the main neurotransmitter to propagate excitatory (Spruston, 2008) while inhibitory neurons mainly use GABA as the main inhibitory neurotransmitter for inhibitory control (Fino et al., 2013). These two neuron types were found to be related to dysregulation of gene expression in MDD (Li et al., 2021) and were considered as potential therapy targets for MDD (Northoff & Sibille, 2014). Recently, a single-nucleus transcriptomic study also reported greatest dysregulation occurred in deep layer excitatory neurons in prefrontal cortex in MDD patients (Nagy et al., 2020). Although our results about upregulation of gene expression related to excitatory and inhibitory neurons are not direct evidence, they linked GMV alterations induced by ECT in MDD patients to cell type-specific transcriptional signatures.

As for single gene, the PEA15 was the strongest positively correlated gene in both datasets according to the ranked PLS1 loadings indicating that it might be more likely to contribute to GMV increase induced by ECT. The PEA15 is a small protein that regulates multiple cellular functions through its interaction with various signaling molecules (Danziger et al., 1995) and has been demonstrated to modulate signaling pathways for cell proliferation (Renault et al., 2003). Many previous studies reported that PEA15 could promote cancer cell survival (Tang et al., 2019) as well as neuronal survival under conditions of reduced glucose availability (Huang et al., 2018). Moreover, differential PEA15 phosphorylations may distinctly regulate proliferative and/or apoptotic signal in astrocytes following status epilepticus (Park & Kang, 2018). Thus, the higher expression level of PEA15 may lead to more cell survival and cell proliferation resulting in increased GMV in the brain.

Among MDD risk genes, HTR1A was the strongest positively correlated gene and showed opposite associations with alterations of MSN in MDD patients (Li et al., 2021). This seemingly contradictory pattern suggested that gene expressions associated with disease progression of MDD could also be modulated by ECT. Indeed, many previous genetic studies have proven that HTR1A gene was involved in the pathogenesis of MDD and behavioral response to antidepressant treatment (Wang et al., 2018; Basu et al., 2019). Moreover, HTR1A is also suggested to be a postsynaptic heteroreceptor that mediates responses to released 5-HT in several brain regions including hippocampus (Samuels et al., 2015). Thus, it is explainable that we identified positive association between gene expression level of HTR1A and GMV alterations induced by ECT.

Similarly, DRD2 was the strongest positively correlated gene among all ECT related genes. DRD2 is one of dopamine receptors and is essential for signaling in the brain for multiple brain functions (Stojanovic et al., 2017). Previous studies reported that dopaminergic transmission is diminished in MDD (Dunlop & Nemeroff, 2007; Admon et al., 2017; Pecina et al., 2017), and ECT could increase dopaminergic activity particularly through induction of dopamine release and sensitivity of dopamine receptors (Kobayashi et al., 2017; Yang et al., 2020). Two previous studies explored the effect of the DRD2 on ECT efficacy and both reported a similar heterozygotic trend for remission (Huuhka et al., 2008; Bousman et al., 2015).

Despite meaningful findings, several methodological issues should be mentioned in the current study. First of all, the AHBA data were obtained from six post-mortem individuals without psychiatric diagnoses whereas the neuroimaging data were obtained from MDD patients before and after ECT. It is impossible to avoid individual’s variation of gene expressions. Future transcription-neuroimaging association studies are needed to verify our results by using gene expression and neuroimaging data obtained from the same individuals. Second, the bias of hemisphere selection is unavoidable since only gene expressions from left hemisphere rather than the whole brain in all six brains were used. Third, no significant GMV alterations were identified after GRF corrections in dataset 2, which might be resulted from the relatively small sample size. Finally, our study is exploratory, thus, more cautions are needed to explain our results.

Conclusions

In conclusion, this exploratory study linked the structural plasticity to gene expression levels using transcription-neuroimaging association analysis and identified 726 genes positively associated with GMV alterations induced by ECT in MDD. These genes were mainly associated with synaptic signaling, cell junction and calcium signaling and were primarily belonged to excitatory and inhibitory neurons. Together, our findings offered a better understanding of biological mechanisms underlying structural plasticity induced by ECT in the MDD.