Introduction

Posttraumatic stress disorder (PTSD) and major depressive disorder (MDD) are prevalent conditions that substantially degrade functioning and quality of life. MDD and PTSD diagnoses are extensive in the United States, with diagnoses of either reaching over 10% in a large sample representative of the general population and over 28% in a large Veteran population1,2. These conditions are highly comorbid; up to 50% of patients with PTSD are also diagnosed with MDD3,4. While each disorder can be difficult to treat individually5,6, patients with comorbid depression and anxiety symptoms have poorer treatment outcomes7,8 and standard depression treatments are less effective when PTSD is present9,10.

Neuromodulation using repetitive transcranial magnetic stimulation (rTMS) has emerged as an efficacious treatment for pharmacoresistant MDD11 and MDD comorbid with PTSD12. However, therapeutic effects of rTMS are variable13. Understanding how rTMS affects brain circuits and how individual variation in oscillatory activity influences the therapeutic mechanisms of rTMS may improve treatment outcomes for patients with complex phenotypes or comorbid syndromes.

Electroencephalography (EEG) provides a powerful means to evaluate the effect of rTMS treatments on fast time-scale brain dynamics14,15. Data analysis techniques applied to evaluate the impact of rTMS on EEG signals commonly rely on quantifying changes in the spectral domain, such as changes in regional oscillatory power and/or coherence among brain areas. Candidate EEG biomarkers to assess the effects of rTMS for depression have been proposed across several frequency bands (typically < 40 Hz), and for a range of spectral features, including averaged local band power16,17,18, event-related power and coherence19,20, and for varied measures of time-domain signal complexity21. Recent studies applying machine learning showed that rTMS-induced changes in resting-state EEG coherences were predictive of clinical response in comorbid PTSD/MDD and able to distinguish active, sham, pre-treatment, and post-treatment groups22,23.

Spectral EEG analyses, including all those referenced above, typically rely on Fourier methods that assume the signal can be well represented by continuous sinusoidal oscillations that remain invariant and are averaged across time. Yet, challenges remain related to the replicability and application of previously observed findings24. In recent years, there has been a paradigm shift in the application of these methods, as many studies have now shown that, in unaveraged data, brain oscillations often occur as transient increases in high spectral power, a phenomenon termed oscillatory “bursts” or “events”25,26. Quantification of transient changes in spectral activity requires new methods that consider temporal characteristics of spectral activity such as event rates, amplitudes, durations, or frequency spans27. Such “Spectral Event” methods have recently been applied in an increasing body of EEG (and/or MEG) studies and are leading to new insights on brain dynamics of sensory information processing27,28, motor action29,30,31, working memory32,33, and neuropathology34,35,36,37,38. However, to our knowledge, such Spectral Event analyses have not yet been applied to quantify the impact of rTMS on EEG-measured brain dynamics and may provide a new pathway to defining EEG biomarkers of rTMS treatment efficacy.

We applied Spectral Event analysis methods developed by our group (https://github.com/jonescompneurolab/SpectralEvents27) to resting-state EEG datasets from adults with comorbid MDD and PTSD who received 5 Hz rTMS over the left dorsolateral prefrontal cortex (DLPFC) in an open-label trial. We hypothesized that transient high-power spectral “Events” would be present in the resting-state theta/delta (1–6 Hz), alpha (7–14 Hz) and beta (15–29 Hz) frequency bands and that clinical improvement after rTMS treatment would be associated with one or more event features.

Results

Patients (56.5% male, 91.3% Caucasian, mean age 52.5 ± 9.5) received up to 40 sessions of 5 Hz TMS to left DLPFC to treat comorbid MDD and PTSD. Resting-state eyes-closed EEG data were recorded from eight electrodes before and after treatment (see Fig. 1).

Figure 1
figure 1

EEG electrode placement and TMS stimulation site. Locations of 8 electrodes, including the stimulation site targeting the left DLPFC (over F3).

PTSD and MDD symptoms improved after rTMS

The sample showed a mean 39.0% PCL-5 score reduction and a 39.3% IDS-SR score reduction after rTMS. Figure 2 shows clinical improvement for each patient. The course of rTMS treatment led to a clinical response (PCL-5 raw score reduction > 10 points) in 18/23 patients for PTSD symptoms, and clinical response (IDS-SR percent score reduction ≥ 50%) in 12/23 patients for MDD symptoms. PCL-5 score change was highly correlated with IDS-SR percent change across patients (r = 0.874, p < 0.0001, data not shown).

Figure 2
figure 2

Clinical score change pre- (blue) to post-treatment (red) for all patients. Scores reported for the PTSD symptom scale (PCL-5, left) and the MDD symptom scale (IDS-SR, right) for patients with a clinical response (green) and without (black) as well as the group average (bold).

EEG power spectral density (PSD) revealed peaks in delta/theta, alpha, and beta frequency bands pre- and post-treatment

To define frequency ranges for our Spectral Event analyses in a principled manner, we first performed a PSD analysis of the EEG signals to determine high-power frequency ranges. Figure 3 presents power grand averages and standard error of the mean bars across all patients and EEG recording sessions (i.e. pre- and post-treatment). For each EEG sensor, peaks in activity consistently appear in delta/theta (1–6 Hz), alpha (7–14 Hz), and beta range (15–29 Hz). As such, these bands defined the frequency boundaries for all further analyses.

Figure 3
figure 3

Power spectral density plots averaged across patients and EEG recording sessions for each electrode. Mean (solid line) and one standard error from the mean (transparent volumes) reported.

Averaged PSD was unchanged post-treatment

To compare effects of rTMS treatment on average power, we averaged the signal power in each identified band of interest (BOI). For each band, we performed a repeated measures two-way ANOVA with factors of time (pre- and post-treatment) and electrode (eight EEG electrodes) across all 23 patients. There were no main effects of time or interaction (F(7, 22) < 3.664, p > 0.05 for all variables), indicating similar average power in each BOI and electrode pre- and post-treatment.

Transient delta/theta, beta and alpha events were detected and quantified in pre- and post-treatment resting state EEG data

Spectral Event analysis of unaveraged 2-s epochs of resting state EEG signals revealed transient high-power events in each BOI (see examples in Fig. 4A, and Supplementary Fig. S2). The average Time–Frequency Response (TFR) across epochs (Fig. 4A upper left) showed continuous bands of high power in delta/theta (1–6 Hz), alpha (7–14 Hz), and beta (15–29 Hz) activity due to the accumulation of events that occurs during averaging. Example unaveraged epochs revealed transient increases in high power activity, i.e. Spectral Events, within each BOI. We quantified the following event features: number of events per 2-s epoch, event maxima power, event duration, and event frequency span. Histograms for beta event Features for individual patients are shown in Fig. 4B and quantified for each BOI in Fig S2 and Table S1. Across all patients, in the delta/theta range there were on average 0.69 ± 0.03 events per 2-s epoch, with 2.41 ± 0.38 × 107 mV2/Hz maxima power, 884.60 ± 25.25 ms duration, and 3.09 ± 0.16 Hz frequency span. In the alpha range, there were 1.28 ± 0.05 events per 2-s epoch, with 3.38 ± 0.49 × 107 mV2/Hz maxima power, 295.36 ± 7.72 ms duration, and 5.49 ± 0.24 Hz frequency span. In the beta range, there were 2.35 ± 0.07 events per 2-s epoch, with 2.23 ± 0.16 × 107 mV2/Hz maxima power, 136.87 ± 1.54 ms duration, and 9.82 ± 0.18 Hz frequency span. Beta event values were consistent with prior analysis of resting state data36.

Figure 4
figure 4

Low-frequency rhythms emerge as quantifiable transient high-power events (white dots) from non-averaged time-series waveform (white line) converted into TFRs. (A) Spectrogram showing average Fpz electrode power (normalized by the median value of each frequency) over frequency and time across all pre-treatment epochs from an example patient (top left), and time–frequency spectrograms of eight randomly chosen individual epochs for each BOI. Color bar denotes heat map of power values as factors of the median (FOM) spectral power. (B) Histograms showing the distribution of all beta event feature measurements from the Fpz electrode for individual patients (colored lines) and the average (black line). Event number is counted over 2 s epochs. See Supplementary Info for further Spectral Event feature quantification across frequency bands (Fig. S.2) and across all electrodes (Table S.1).

We next examined if rTMS impacted event features, regardless of clinical outcome, by pooling the data from all patients and comparing event features before and after rTMS treatments. When averaging across all patients, no significant differences between pre- and post-treatment measurements were found for any event feature. See Supplementary Table S2 for p-values and percent change values from all bands and electrodes, as well as Supplementary Table S1 for average totals of each event feature from each electrode.

Changes in fronto-central electrode beta event features correlated with clinical improvement

While there were no significant pre- to post-treatment differences in event features when averaging the data across all patients, we hypothesized that pre- to post-treatment changes in event features may depend on clinical outcomes. We found that changes in frontal and central electrode beta event features significantly correlated with clinical improvements (Fig. 5). Significant correlations were not found in any other BOI (Table S3).

Figure 5
figure 5

Correlation between change in clinical score and beta event features pre- to post-treatment for each patient (•). (A) Percent change in beta event duration vs. IDS-SR percent change for the Fpz, Fp2, and Fp1 electrodes. (B) Percent change in beta event frequency span vs. IDS-SR percent change for the Fpz and Fp2 electrodes. (C) Percent change in beta maxima power vs. IDS-SR percent change and PCL-5 score change for the Cz electrode. Pearson’s correlation coefficient r, r2, and BH-adjusted p-values reported.

Patients that reported post-treatment improvement in MDD symptoms (i.e. decreased IDS-SR scores) exhibited increased beta event durations in frontal electrodes, while those with worse outcomes exhibited decreased durations (significant correlations in pre- to post- changes: Fpz: r = − 0.662, pc = 0.014; Fp2: r = − 0.630, pc = 0.025; Fp1: r = − 0.662, pc = 0.014, where pc is the Benjamini–Hochberg adjusted p-value corrected for multiple comparisons across the correction space of event features, electrodes, and BOI) (Fig. 5A). Moreover, MDD symptom improvement was associated with decreased post-treatment frontal beta event frequency span (Fig. 5B; Fpz: r = 0.685; pc = 0.014, Fp2: r = 0.663, pc = 0.014), and decreased central electrode beta event maxima power (Fig. 5C top; Cz: r = 0.590; pc = 0.048, with an additional trend toward decreased power in neighboring electrode Fz: r = 0.571, pc = 0.060, see Table S3).

Patients reporting improvements in PTSD symptoms (decreased PCL-5 scores) similarly exhibited a trend towards decreased central beta event maxima power (Fig. 5C bottom; Cz: r = 0.660, pc = 0.058), though this result was not statistically significant with our False Discovery Rate set at 0.05.

See Supplementary Figs. S3 and S4 for further illustration of our findings.

Pre-treatment beta event duration in frontal electrodes correlates with clinical response to rTMS

To determine if event features at baseline were associated with post-treatment symptom improvements from rTMS, we calculated the correlation between pre-treatment event feature measurements and clinical score change separately for each BOI and electrode. Patients that reported post-treatment IDS-SR symptom improvement (decreased scores) had shorter pre-treatment beta event durations, while those with worse outcomes had longer pre-treatment durations (Fig. 6, significant correlations Fpz: r = 0.683, pc = 0.023; Fp2: r = 0.659, pc = 0.023). Significant effects were not found for the PCL-5 or in any other BOI (Table S4).

Figure 6
figure 6

Correlation between IDS-SR percent change and pre-treatment beta event duration from the Fpz and Fp2 electrodes for each patient (•). Pearson’s correlation coefficient r, r2, and BH-adjusted p-values reported.

Discussion

This study implemented EEG Spectral Event methods to quantify features of transient high-power activity in unaveraged EEG data and to study oscillatory changes occurring in relation to clinical efficacy of rTMS in patients with comorbid MDD and PTSD12. Using a sparse 8-electrode montage, we found resting-state EEG oscillations exhibited transient high-power events in the delta/theta, alpha, and beta ranges before and after treatment (Fig. 4). While transient events have been detected in resting-state data28,36,37,39,40,41, this study is the first to identify and quantify them in a population with MDD and PTSD.

To our knowledge, prior studies have not examined the effects of TMS on Spectral Event features. We found that clinical improvement in MDD and PTSD was associated with decreased frequency spans and increased durations of frontal electrode beta events, and with decreased maxima event power in central electrodes (Fig. 5). Further, shorter frontal electrode beta event durations at the pre-treatment baseline were correlated with greater post-treatment improvement in depression symptoms (Fig. 6). Taken together, the results surrounding beta event durations suggest that patients starting with shorter beta event durations are most likely to exhibit a pre- to post-treatment duration increase reflective of symptom improvement. These findings merit replication in other rTMS samples with MDD and PTSD, as well as exploration in samples with singular diagnosis of either MDD or PTSD.

By moving beyond trial averaging, transient beta events may provide a new potential biomarker for effective rTMS treatment. Spectral Event analyses can increase statistical power that is lost with averaging across time and/or trials and may help overcome issues of stability and reproducibility, which are a major limiting factor in establishing EEG as a reliable measure of therapeutic rTMS treatments24,42. Consistent with prior studies20,43,44,45, including those using the dataset studied here22, we did not find differences in averaged EEG power with rTMS treatment for PTSD or MDD. The Spectral Event analysis provided a finer-grained investigation that revealed changes in beta band activity, not previously reported.

More advanced methods that go beyond power calculations to quantify coordination of oscillations across brain regions have shown more promise for rTMS response prediction (ref.46,47,48, reviewed in49). We have previously applied machine learning classification to show that across-electrode spectral coherence of EEG resting state oscillations in the alpha, beta, theta and delta bands are predictive of symptom improvements in the 5 Hz TMS patient group studied here22. In the beta band, coherence between frontal and midline electrodes played the strongest role in classification performance (see also46,48). The current beta event findings suggest that the previously reported coherence may be related to the across area coordination of transient beta events, as has been observed in other resting state studies with methods that are beyond the scope of the current study31.

A classic interpretation of therapeutic rTMS indicates that its mechanisms involve modulation in the plasticity of brain circuits and networks50,51. How this plasticity takes shape and leads to symptom improvement is unknown. The observed beta event feature changes with therapeutic rTMS may provide unique insight into this important open question.

The sparse electrode array used in this study limits conclusions that can be made about the precise anatomical location of the cortical circuits underlying our observations. However, the beta event frequency span and duration results observed in frontal electrodes are distinct from the maxima event power results found in central electrodes, suggesting they emerge from anatomically distinct underlying networks. Moreover, the wavelet methods applied to calculate the time–frequency representations of the data (e.g. Fig. 4A) impose a trade-off between time and frequency resolution, and hence a potential coupling between longer durations and shorter frequency spans, supporting the notion that the frontal electrode results are associated with the same underlying neural process.

Beta rhythms in frontocentral executive control regions have been implicated in higher order cognitive processes, e.g. cognitive control and working memory32,33,52, with direct links to symptom severity in MDD and PTSD53,54,55,56. Averaged beta power increases in executive control regions are often associated with the “inhibition” of distracting information30,54,57 or emotions56, and with the suppression of motor actions29,30,58,59,60,61,62,63,64.

Recent findings directly link beta-associated inhibitory influences to changes in beta event (i.e. burst) features. Several stop-signal task studies have shown that beta event rate in frontal cortex increases with successful cancellation of action, and that the timing of beta events correlates with reaction times, such that earlier events lead to faster stop times59,60,61,62,63,64. Transient beta events in frontal regions have also been associated with working memory and decision making, where it has been suggested that they support the formation of neural ensembles needed to meet current task demands32,33.

All of these prior studies focus on beta event timing and rate. To our knowledge, none have directly related changes in beta event duration, frequency span, or maximum event power with cognition or inhibitory control. Our results suggest the TMS-induced changes in these beta event features may also be reflective of the suppression of distracting thoughts, emotions and/or memories, which lead to improved MDD and PTSD symptoms.

The observed rTMS induced beta event feature changes may also provide novel insight into the biophysical neural mechanisms through which beta events regulate inhibitory control. A recent computational modeling-derived theory by our group on the biophysical cellular and circuit-level neural mechanisms generating beta events provides a potential interpretation of the mechanisms through which beta event related “inhibition” of thoughts, emotions, and/or memories may occur65,66,67. In brief, we have observed similarities in beta event features in sensory, frontal, and motor cortices57,65,68. Using an integrated approach that combined neural modeling with human, non-human primate, and mouse recordings, we developed a theory on the mechanisms of beta event generation. This theory suggested beta events emerge from the integration of layer-specific thalamocortical excitation of the neocortical column, where a strong ~ 50 ms (i.e. beta period) burst of supragranular excitation from thalamus to the distal dendrites of neocortical pyramidal neurons was the most prominent defining mechanism of beta event generation65,68. Follow-up studies further predicted that the supragranular excitation also recruits inhibitory neurons, whose activity suppresses the relay of incoming sensory information leading to decreased sensory perception27,67. How these mechanisms relate to the observed TMS-induced changes in beta event frequency span, duration and maxima event power requires further investigation beyond the scope of the current study. However, based on our prior beta event generation theory, we speculate that beta-associated inhibitory neuron recruitment may also underlie the suppression of negative thoughts and emotions in MDD and PTSD. Moreover, rTMS may induce changes in thalamocortical connectivity plasticity, mediated in part by its impact on inhibitory neurons69,70.

In conclusion, our findings serve as a critical first step in defining novel EEG Spectral Event feature biomarkers of therapeutic rTMS for MDD and PTSD. These results are meant to be fundamental in nature providing new insights into the mechanisms of action of rTMS. At present they cannot guide clinical practice. However, they lay the foundation for further replication studies and development of a deeper understanding of the circuit-level mechanisms underlying how rTMS induces changes in Spectral Event features that may ultimately be a useful clinical biomarker to guide treatment.

Methods

TMS paradigms and patient populations

We analyzed data from 23 patients from a previously published clinical study conducted at the VA Medical Center and Butler Hospital in Providence, RI, USA. The full study cohort included thirty-five patients diagnosed with moderate to severe comorbid MDD + PTSD. Patients received a course of once-daily (weekdays) unblinded 5 Hz rTMS stimulation sessions, delivered to the left DLPFC, for up to 40 sessions. Daily treatments each included 3000–4000 pulses, with treatment intensity delivered at 120% of the motor threshold on a NeuroStar device system (Neuronetics Inc., Malvern PA). The stimulation protocol was comprised of 5 s trains and 14 s inter-train intervals (NCT02273063; for full details see12). EEG data was acquired at baseline (pre-treatment) and after the last TMS session (post-treatment). The stimulation site (F3, Fig. 1) over the left DLPFC was determined using the Beam/F3 method71.

Symptom severity for MDD and PTSD was evaluated using validated self-report measures: the Inventory of Depressive Symptoms-Self Report (IDS-SR)72 for MDD and the PTSD Checklist for DSM-5 (PCL-5)73. For each report, a decrease in score indicates an improvement in symptoms. All patients met clinical and safety criteria for rTMS. Concurrent psychotropic medications and ongoing psychotherapy were continued at stable regimens during participation. Written informed consent was obtained for all study procedures from all participants. All procedures were performed in accordance with current guidelines and regulations and were approved by the VA Providence and Butler Institutional Review Boards.

EEG acquisition

Details of the EEG acquisition was previously reported22. Briefly, resting-state eyes-closed EEG was recorded while patients sat quietly in a sound-attenuated room. Patients were asked to keep eyes open for one minute, closed for 10–12 min, and open again for another minute. Only eyes-closed data were analyzed. An 8-channel electrode cap and EEG device (ENOBIO8, Neuroelectrics, Cambridge, MA, USA) were employed to record data from dry electrodes placed over FP1, FP2, FPz, F3, Fz, Cz, Pz, and Oz (Fig. 1). EEG acquisition used a high-pass (0.5 Hz) and low-pass (50 Hz) filter, with sampling at 500 Hz and 24-bit precision digitization.

EEG analysis

EEG preprocessing was performed using a similar approach as in22 with custom MATLAB code (v2019a; Mathworks, Natick, MA, USA). The data were segmented into 2-s non-overlapping epochs, and epochs containing artifacts such as eye movement, muscle, movement-related, and amplifier drift were removed after manual inspection (masked for clinical outcome status). Only data from individuals with > 120 s of usable EEG data (sixty 2-s epochs) from all 8-electrodes and with complete clinical data were used in the analysis, resulting in 23 patients with complete data (66% of the original data set). An equal number of epochs from pre-treatment and post-treatment recording sessions were randomly selected for analysis.

Power spectral density (PSD) analysis

Time–Frequency Responses (TFRs) were calculated using methods as in MATLAB SpectralEvents Toolbox (https://github.com/jonescompneurolab/SpectralEvents, findMethod = 3) (ref.37, see also27). Each artifact-free 2-s epoch was convolved with a 7-cycle Morlet wavelet. Power spectral density (1–45 Hz) for each EEG electrode was calculated by averaging the TFR across time for all epochs across both EEG recording sessions and for each patient. We then computed power in theta/delta (1–6 Hz), alpha (7–14 Hz) and beta (15–29 Hz) frequency bands by averaging power within each frequency band of interest (BOI).

Spectral event analysis

Spectral Events were defined using TFRs normalized by the median power value for each frequency value throughout each BOI. Transient high-power “events” were detected and characterized using the Spectral Events Toolbox, defined for each frequency value as local maxima above a 6X median threshold within a BOI (see Supplementary Fig. S1 for additional details). Specifically, for each patient, Spectral Events were found by (1) thresholding normalized TFR in the BOI, using a 6X factor of the median (FOM) threshold computed separately for each individual frequency; and (2) finding all local maxima and discarding those of lesser magnitude in each suprathreshold region, so that only the greatest local maximum in each region survived. In the rare case when more than one local maximum in a region had the same greatest value, their respective event timing, frequency, and boundaries at full-width half-max (see duration and frequency span below) were calculated separately and averaged. This method does not allow for overlapping events to occur in a suprathreshold region and ensures that the presence of within-band, suprathreshold activity in any given trial will be counted as one event. Event number was calculated by counting the number of events in the 2 s period of each epoch. Event power was calculated as the normalized FOM power value at each event maximum. Event duration and frequency span were calculated from the boundaries of the region containing power values greater than half the local maxima power, as the full-width-at-half-maximum in the time and frequency domain, respectively. Edge cases in the time and frequency domains were resolved by doubling the half-width of the side that was not cut by the edge.

Statistical analysis

Effects of rTMS treatment on average power were assessed for each BOI by performing a two-way repeated measures ANOVA with factors of time (pre- and post-treatment) and electrode (eight EEG electrodes). Ad hoc paired t-tests were performed to evaluate treatment (time) effects for individual electrodes.

For each BOI, paired t tests were used to assess effects of rTMS treatment on EEG transient event features (event number, power, duration and frequency span) by comparing pre- and post-treatment values for each electrode.

Pearson correlation tests were used to assess the relationships between the pre- to post-treatment percent change in event features and the percent change in MDD and PTSD symptom scores (IDS-SR and PCL-5, respectively), separately for each BOI and electrode. Correlation tests were also used to evaluate (separately for each BOI and electrode) relationships between baseline pre-treatment event features and percent change on symptom scales. All reported p-values were corrected for multiple comparisons across the correction space of event features, electrodes, and BOI (4 × 8 × 3 = 96) using the Benjamini–Hochberg (BH) step-up procedure74 with a False Discovery Rate (Q) set at 0.05. Trending BH-adjusted p-values (a.k.a. the q-values) are reported as 0.05 < pc < 0.08, while statistically significant BH-adjusted p-values are reported as pc < 0.05 (Q = 0.05).

Upon publication, all analysis code will be made publicly available.

Ethics declaration

All patients met clinical and safety criteria for rTMS. Concurrent psychotropic medications and ongoing psychotherapy were continued at stable regimens during participation. Written informed consent was obtained for all study procedures, which were approved by the VA Providence and Butler Institutional Review Boards.