Introduction

The dorsomedial prefrontal cortex (dmPFC) is involved in working memory, attention, emotion regulation and further distinct mental functions. Its role in threat processing has been repeatedly postulated1,2. Sustained fear situations are bounded to a well-defined stressor that will occur with some predictability in a short time window3. In instructed fear paradigms, a state of fear can be elicited by a cue when there is a contingency between it and a potentially dangerous stimulus. Previous functional (f)MRI studies have shown that evaluation of fearful stimuli lead to an activation of the dmPFC2. If excitatory or inhibitory mechanisms are involved or how a regulation of cortical excitability in the dmPFC during fear processing occurs is still unknown. These phenomena, however, play a crucial role for adaptive behavior in threat situations and their dysfunction could lead to the development of neuropsychiatric disorders.

Event-related potential (ERP) analysis is an effective method to address neural processing and cortical excitability. The time-locked synchronous neural activity can be depicted as well during fear processing. One of the characterized ERP components to threat exposures is the P100, which reflects the non-conscious processing of presented cues. Conscious processing is linked to sustained attention and increasing use of processing resources4 and involves the medial prefrontal cortex5. Fear responsiveness can be indexed by presence of the P300 and the longer-lasting late positive potential (LPP) components. LPP has been as well uniquely linked to memory encoding and storage during fear processing6. The LPP amplitude increases to threat stimuli; functional imaging studies showed activation of further nodes of the “fear network” (i.e. amygdala) interrelated to LPP magnitude. Electrophysiological LPP measures are therefore considered a viable marker of fear processing7,8 and likely reflect summated neuronal activity of different regions conforming the fear network, given its sensitivity to a variety of task instructions and its long duration which appears not to habituate over repeated presentations of stimuli9. Specific causal manipulation through optogenetics in animal studies or transcranial magnetic stimulation (TMS) in humans could facilitate delimitation of the specific role of network nodes. Of note, the increased positivity of the LPP starting ~300–500 ms after stimuli presentation extends well beyond 1000 ms10 and its duration is stimulus-guided, reflecting a continued physiological process related to attentional fear processing11,12. However, despite the importance of LPP to fear processing, its neural substrate is still not clear.

Here, we address dmPFC excitability by analyzing the LPP component through simultaneous TMS and EEG recordings during fear processing. Therefore, we adapted an instructed fear paradigm, where a conditioned stimulus (CS), called the CS+, predicts an unconditional fearful stimulus (US), while the other (the CS-) its absence. This paradigm has been previously applied to map the neural networks engaged in instructed fear showing an involvement of amygdala, insular cortex, the dmPFC, and the anterior cingulate cortex (ACC)2,13,14. During instructed fear the amygdala and the dmPFC are considered regulatory nodes for network responses to threat2,15,16. The dmPFC has been suggested to convey excitability regulation states during sustained fear events, via synchronized activity with other brain structures of the fear network17. Recent technical advances allow the non-invasive assessment of synchronized brain activity by TMS-EEG recordings at the brain surface level18,19,20,21 and provide the opportunity to track physiological aspects of fear processing at the cortical level while also measuring long-range synchronization and excitability properties within the involved network nodes. In order to dissect and improve the EEG-based moderate spatial resolution for the characterization of the involved network, we link TMS-EEG responses to structural properties of the studied network as derived from MRI. Thereby, a precise temporal and spatial characterization of the dmPFC-guided fear processing is achieved.

Although the mechanisms underlying TEPs are not completely understood, they provide key information with respect to brain functions and networks involved in specific high-level cognitive processes. Indeed, recent efforts have been conducted to shed light on the mechanisms of TMS beyond the motor cortex22,23,24,25 (see26 for a recent review) and more specifically in the mPFC during different task24,27. Such studies have demonstrated TEPs to be highly reproducible to specific methodological contains28,29 and to also be sensitive to changes in brain state. Therefore providing a quantifiable marker of the neurophysiological state of the cortex and important information regarding functional dynamics of distributed cortical networks26. Furthermore, the development of improved methods to obtain a reliable EEG source estimation should also provide spatial information on the evoked neural activity.

Results

Psycho-physiological markers of instructed fear responses

The behavioral ratings, obtained from the questionnaires of our instructed fear paradigm (Fig. 1), showed that the T condition lead to higher levels of expectancy for threat (p < 0.001, d’ = 2.6) than NT cues. The captured heart rates were also markedly increased in T compared to the NT condition (p < 0.001, d’ = 1.98) as shown in Fig. 2.

Figure 1
figure 1

Experimental design. (a) Prior to the experimental phase, participants were informed about paradigm contingencies. (b) Schematic of the fear conditioning task. Three continuous blocks of trials were performed. In each block, one figure (the conditioned stimulus, or CS+) was paired with a shock (the unconditioned stimulus, or US) 33% of the time, whereas a second figure (the CS−) was never paired with a shock. Images were presented for 5 s, followed by a 5–10-second inter-stimulus interval (ITI). The figure represents the pseudorandom trial orders used during the experiment with the TMS stimuli applied 1 s after cue presentation in the case of the TMS experiments. (c) Butterfly plot showing an example of the EEG data with the TMS pulse visible.

Figure 2
figure 2

Hear rates and subjective fear ratings of the (a) no-TMS and (b) TMS experiments. The red bar represents T and blue bar represents NT conditions. The asterisk (*) denotes significant differences after correcting for multiple comparisons (FDR, p < 0.05).

Cortical excitability-to-threat evoked potentials and dmPFC excitability modulation

Concordant with the results on the behavioral ratings and the heart rate frequency increase, the evoked peak amplitudes after the T visual cues were higher than for the NT trials in both the TMS and no-TMS experiments (Fig. 3). More specifically, after the visual cues we could identify two amplitude peaks that showed modulation. The first ERP component occurred at 152 ms (ERP152), followed by the LPP with an increased and sustained activity with high amplitude at 500 ms. In the no-TMS experiment, the LPP showed a sustained response beyond 1 s, decaying at ~1300 ms, whereas in the artefact-free filtered TMS–EEG data (1–30 Hz; TMS experiment) apart from the same two initial ERPs, additional and differential modulation of the EEG activity after the TMS pulse was observed. Here, six TMS-evoked potentials have been identified, TEP1 at 41 ms, TEP2 at 57 ms, TEP3 at 81 ms, TEP4 at 117 ms, TEP5 at 197 ms and TEP6 at 317 ms. The topographical distribution of the excitability-to-threat and the corresponding peak amplitudes for both T and NT conditions in the TMS experiment are shown in Fig. 3a,b.

Figure 3
figure 3

Event-related potentials (ERP) and TMS-evoked potentials (TEP). (a) Cortical excitability-to-threat (a.k.a. ERP) and dmPFC-related modulation peak (a.k.a. TEP) amplitude differences between the threat (T) and no-threat (NT) conditions over scalp electrodes. (b) Topographical distribution of the amplitude differences across the scalp, the red lines show the significant electrodes after cluster analysis (Monte Carlo permutations, p < 0.05). (c) Peak-to-peak amplitude latency differences for the cortical excitability-to-threat and dmPFC related modulation in the main experiment. In (a) and (c) the asterisk (*) denotes p < 0.05 after correcting for multiple comparisons.

When evaluating the evoked activity (Fig. 3, Table 1), the amplitude of the ERP152 did not differ between the T and NT conditions; whereas the LPP showed a significant increase in amplitude in the T condition (p = 0.038, Cohen’s d = 0.5). After the TMS pulse, three of the TEPs showed amplitude differences between the two conditions: TEP41 (p = 0.048, d’ = 0.47), TEP117 (p = 0.049, d’ = 0.47), TEP197 (p = 0.036, d’ = 0.51). The cluster analyses showed that the peaks of activity were accompanied by significant increases in the T condition when compared to the NT condition in the sensors corresponding to the frontal, dmPFC and central regions of different evoked potentials (Fig. 3b). The sustained positive activity after the LPP has been linked to the level of attention to relevant stimulus. The 25th and 75th percentiles of the signal-to-noise ratio (SNR) for the individual EEG signals were: −20 and 31 dB, with a median value of 11 dB. In this case, any of the obtained individual SNR values could be considered an outlier.

Table 1 Differences between Threat and no-Threat conditions in the TMS experiment.

Henceforth, we used the cortical excitability-to-threat, measured as the difference between threat and no-threat, and the dmPFC-related modulation in the subsequent analyses (Fig. 3c). In the case of the peak-to-peak amplitude latencies (Fig. 4), the LPP showed increased peak-to-peak amplitudes in respect to the ERP152 (p = 0.014, d’ = 0.73). After the TMS stimulation, four peak-to-peak latencies showed significant changes: increased TEP41 compared to the TMS onset (p = 0.022, d’ = 0.49), decreased TEP57 compared to TEP41 (p = 0.042; d’ = 0.41), increased TEP81 compared to TEP57 (p = 0.0025, d’ = 0.72) and increased TEP117 compared to TEP81 (p = 0.015, d’ = 0.58).

Figure 4
figure 4

Comparison of cortical excitability-to-threat and the dmPFC-related modulation between TMS and no-TMS experiments. T-NT differences and their topographical representations in the (a) no-TMS (purple) and (b) TMS (green) experiments. The black lines indicate significant peak-to-peak latency changes in the TMS experiment with respect to the no-TMS experiment. At the bottom of each graph, the topographical distribution of the amplitude differences across the scalp is shown, where the red lines indicate the significant electrodes after cluster analysis (Monte Carlo permutations, p < 0.05). The asterisk (*) denotes significant differences after FDR correction (p < 0.05).

When comparing the markers of cortical excitability in the two experiments, no significant changes were detected for the cortical excitability to T. Of note, increased excitability was evident after the TMS stimulation over the dmPFC (see topographies in Fig. 4). Moreover, the differences between conditions and peak-to-peak latencies showed a different temporal differentiation at different regions (Fig. 5). This result suggests a spread of activation from the dmPFC (stimulation site) to other interconnected areas, which are seen as deflections in the EEG signals.

Figure 5
figure 5

Regional event- and TMS-evoked potentials. (a) Amplitude peaks of the no-threat (NT) and threat (T) conditions. (b) Peak-to-peak latency activity of the excitability-to-threat and dmPFC-related modulation at different regions. The asterisk (*) denotes significant associations after correction for multiple comparisons (FDR, p < 0.05).

Structural substrates of the excitability-to-threat and dmPFC-related modulation

The fear ratings were predicted by both right hippocampus and amygdala volumes (r2 = 0.3, F = 3.65; p = 0.048). Furthermore, the volume of the left dmPFC and the right hippocampus correlated with the increase in heart rates in response to fear (r2 = 0.47; F = 7.11; p = 0.006). As shown in Table 2, when examining associations between structural properties of the network nodes and the dmPFC excitability response to T, the integrity of the right dmPFC and the right amygdala predicted these measures. When analyzing the excitability-to-threat at the regional level, the structural integrity of the right dmPFC predicted the amplitudes of the evoked potentials after TMS. A similar effect was shown as well for several other structures in the network (i.e. insula; see also Supplementary Table 1 for more detailed information).

Table 2 Step-wise regression analyses.

Discussion

In this work, we characterize excitability regulation patterns during an instructed fear paradigm non-invasively in healthy subjects. Threat processing is related to increased event-related activity with topological maximum in the dmPFC area. Furthermore, TMS pulses over the dmPFC induced a consistent modulation of the event-related activity with longer and increased threat-related responses. The threat-dependent excitability modulation was linked to the LPP component of evoked response. We found highly significant associations between evoked responses and markers of gray matter integrity, mainly in the dmPFC, but also in the amygdala and insula. The applied integrative approach illustratively describes the involved network. Our findings add to the current literature showing a pivotal role of the dmPFC in controlling the adaptive fear responses and introduce a non-invasive paradigm to measure physiological responses to threat2. Furthermore, the strong interrelation of excitability fingerprints, microstructural integrity and physiological markers of fear processing such as heart rate underpins the pivotal integrative value of the dmPFC in evaluative processes related to threat and the robust value of the introduced paradigm for causal interrogation of this specific node for fear processing.

The applied EEG approach permits an exact temporal characterization of threat processing. We see no delimitation of fear processing at early phases as quantified by ERP responsiveness at 152 ms (ERP152). And indeed at this very early stage merely the processing of complex visual information occurs and not the difference in the valence of the stimuli30. In our study, in both the TMS and no-TMS experiments increased threat-related excitability, as reflected by the appearance (and increase) of the LPP component, was detected. LPP is characterized by a sustained activity from ~500 ms and beyond ~1000 ms. Stimuli, most directly relevant to biological or imperative contents (threat, mutilation, etc), lead to an increase of LPP31,32. Emotional modulation of the LPP persists even after the full duration of stimulus presentation (e.g., 300–1500 ms) and shows several topographic shifts from parietal to central and frontal representations4,33,34. Moreover, LPP does not seem to habituate to emotional stimuli. Amygdala and prefrontal cortex activation have been described and related to attentional processing of emotional stimuli35. However, LPP amplitudes have been clearly shown to be linked to memory encoding and storage30,36,37,38,39. Similar to existing data showing poor correlation of the magnitude of early components (ERP152) with threat encoding, we only see consistent differences in the T-NT processing in the late components indexing distinct temporal facets of threat processing9,36. According to these findings, the LPP likely represents the summated activity of the entire network, thus through specific causal manipulation, which is possible using optogenetics in animal studies or TMS in humans, a specific role for each node of the fear network can be delimitated.

In our study, the LPP-evoked responses are further modulated by TMS pulses over the dmPFC, noticeable by the significantly higher amplitudes during the T condition with respect to the NT (also to the TMS experiment without task stimuli) and the evidenced fluctuation in the peak-to-peak amplitudes along the duration of the sustained response that was not present in the no-TMS experiment. This area might mediate the explicit evaluation of fear states and grant a controlled processing16,40. In concordance, larger LPP responses and increased dmPFC activations have been associated with amplified states of fear2,41. LPP increase and prolongation might mirror increased processing of the threat stimuli, while the dmPFC interferes with these processes.

TMS pulses induce well-described evoked potentials42,43; however, despite the groundwork that has been recently conducted22,23,24,25 (see also26 for a current review), more research is still needed to better understand the modulatory effects of TMS on the ongoing activity over cortical areas other than the motor cortex26. TEPs reflect the excitability of the cortex at the stimulated area and represent a summation of excitatory and inhibitory phenomena44. A recent work addressing TEP over prefrontal areas showed mainly an inhibitory effect of single-pulse TMS over the prefrontal cortex42. However, the evoked activity is more a complex interplay with possible interactions with excitatory neurotransmission for the early TEP peaks (10–30 ms) and inhibitory phenomena at later peaks (100–200 ms) as known for motor cortex stimulation26. Moreover, every TEP component presents a different topology suggesting a dynamic interaction of distinct cortical and subcortical areas.

In our study, the peak latency from ERP152-to-LPP is predicted by the volume of the right amygdala. Furthermore, the behavioral fear rates were predicted by the integrity of the right amygdala. Both findings support the role of the amygdala for fear evaluation and processing. These results are in good agreement with pivotal studies, showing that the activity of the amygdala was positively correlated with reports of anxiety45. The amygdala innervates the autonomic system, and thus is involved in the modulation of physiological responses to threat, aversive stimuli and signs of anxiety arousal, such as changes in heart rate2,46. Furthermore, the structural integrity of the paths connecting the amygdala to frontal regions predicts anxiety levels15. Similar to our study, recent work showed that threat events enhance dmPFC-amygdala connectivity47, while the dmPFC possibly modulates amygdala activation, probably guided by inhibitory projections48,49. Here, these mechanisms were evidenced by both structural MRI and ERP analyses, highlighting not only a critical role of the dmPFC in regulating threat-related excitability, but also in recruiting interconnected regions of the fear network.

TMS pulses induce a spread of activation from the stimulation site to other interconnected brain areas, which are observed as deflections of the EEG signals (see for example Fig. 5). It is known that such effects start a few milliseconds after the pulse onset and last approximately 300 ms50. It has been suggested that the first TMS-evoked EEG activity reflects excitability, i.e. the functional state, of the stimulated area, whereas the following depicts the spread of activation to other cortical areas, likely reflecting the directedness or “effective” connectivity rising from the stimulated area51,52. Thus, the spatiotemporal deflections capture the modulation of the activity of functionally interacting neural assemblies. To verify such an assumption we therefore investigated the association of the evoked activity with the structural integrity of the regions part of the fear network. From these analyses mainly two regions showed up, namely the amygdala and dmPFC, strengthening their key role for fear processing and the existence of top-down modulatory mechanisms. All together, these findings highlight the promising ability of TMS-EEG to capture dynamical changes of cortico-cortical connectivity, identifying the segregation or the integration of particular brain areas during fear processing, which can be further extended to the study of other cognitive domains.

A limitation of the current study is the number of trials (36 per condition) for assessing TMS-evoked activity. However, recent evidence has shown that reliable measures of TMS excitability modulation can be obtained with even lower numbers of trials. More specifically, approximately 20–25 trials are suggested when neuronavigated stimulation is used for the study of cortical-excitability as induced by TMS-pulses over the motor cortex28; this has also been reported in recent meta-analyses53. Although these studies have used a lower number of trials to effectively study cortical excitability, given the analytical differences between motor-evoked responses and EEG-recorded activity, further studies are granted to shed light on this topic. In the current study, the SNR analysis showed low inter-individual variability in the evoked responses and as a result, the registered evoked activity can be considered of good quality. Ultimately, our findings provide the basis for possible mechanisms of fear processing which should be further explored in future studies.

Contrary to Pavlovian conditioning, in the applied fear paradigm the subjects are instructed about T and NT conditions before the experiment begins. Hence, for fear conditioning, learning takes place prior to stimuli exposure and fear processing requires controlled evaluation of fearful stimuli54, likely with involvement of different areas of the fear network. Previous studies on instructed fear have consistently shown activations of the dmPFC, amygdala and ACC2, however, robust measures of fear-related and dmPFC-modulated activation that are easy to apply in the clinical setting are still lacking. The dmPFC is not directly involved in the initial generation of fear responses but specifically modulate controlled/attended threat processing. Indeed, it has been shown that a loss of function in the dorsal mPFC regions is related to prolonged amygdala activation in persons with emotional dysregulation14. Moreover, prefrontal cortex excitability abnormalities have also been linked to impaired threat processing, anxiety and depression55,56,57. Taken together, these findings suggest that measures of dmPFC responses could evolve into a translational fingerprint that could be applied in experimental or clinical settings to dissect physiological from pathological responses or to monitor the transitional dynamics which provide resilience to mental illness. Furthermore, our results highlight the link between anatomical integrity and brain excitability patterns.

Conclusions

According to previous studies showing increased activation of the dmPFC during fear processing, the current paradigm allowed us to examine the specific role of dmPFC excitability regulation in healthy young subjects. TMS pulses over the right dmPFC during the instructed fear paradigm induced evoked responses with distinct temporal patterns linked to structural node properties of the fear network. This provides conclusive evidence for the involvement of the dmPFC in modulating the excitability-to-threat related to the long-lasting LPP component, a marker of fear stimuli processing, and sheds light on the role of the structural integrity in predicting different TMS-evoked activity peaks. Our results show causal evidence that fear processing requires higher cognitive mechanisms guided by the excitability properties of the dmPFC. Furthermore, our paradigm can be applied to test specific effects of dmPFC excitability modulation related to resilience and health.

Methods

Participants

In total, forty healthy young subjects were enrolled in the study. Twenty subjects participated in the designed main experiment (11 female; mean age ± SD: 26.8 ± 4.7 years). A second group of twenty healthy young subjects was used for a control experiment (11 female, mean age ± SD = 28.3 ± 6.6 years). The study was approved by the scientific and ethical committees at the University Medical Center Mainz and conducted in accordance with the ethical guidelines of the Declaration of Helsinki; all participants provided informed consent.

MRI data acquisition

Prior to the instructed fear paradigm, each participant underwent a standardized MRI scan. All MRI scans were acquired in a Siemens Trio 3 Tesla scanner (Siemens Medical Solutions, Erlangen, Germany). The T1 structural protocol was a magnetization-prepared rapid gradient-echo (MPRAGE) with the following parameters: repetition time [TR] = 1900 ms; echo time [TE] = 2.54 ms; inversion time [IT] = 900 ms; pixel bandwidth = 180; acquisition matrix = 320 × 320; flip angle = 9°; pixel spacing = 0.8125 × 0.8125 mm; slice thickness = 0.8 mm.

Instructed fear paradigm

Before starting the experiment, the experimenter explicitly instructed all participants about the fear paradigm. During the sessions, an adapted version of the Raczka, et al.58 instructed fear paradigm was applied, as previously described59. In the threat condition (T), a circle (conditioned stimulus, CS+) was presented, followed in 33% of the cases by a painful electrodermal stimulation (unconditioned stimulus, US) to the back of the right hand (Fig. 1); alternatively, in the no-threat condition (NT), a square (unconditioned stimulus, CS−) was presented without any threat stimuli association. The two visual cues (CS+ and CS−) were presented in a pseudorandomized order for 5 seconds and were separated by a 5–10 second inter-stimulus interval (ITI) presentation of a black fixation cross on a white background.

The painful electrical stimuli (US) consisted of square wave pulses of 2 ms each, generated by a DS7A electrical stimulator (Digitimer) and were delivered through a surface electrode situated on the back of the right hand. Prior to the experiment, participant-specific painful stimulus intensity was determined by rating increasing stimulus intensities on a scale from 0 (no pain) to 10 (very painful). An intensity corresponding to pain 7 was used during the experiment.

At the end of every paradigm session the participants reported the amount of acquired fear, referring to their last encounter with each of the two visual cues (scaled to %, 0% = no anxiety, 100% = very anxious). These behavioral rating scales of fear were accompanied by the caption: “How much fear did you experience while looking at this figure?” There were no time constraints for providing ratings.

EEG recordings and TMS experiment

EEG signals were recorded continuously during experiments using a TMS-compatible direct current (DC)-coupling amplifier (Net Amps 300) and a high-density (256-channel) HydroCel Geodesic Sensor Net EEG recording system (EGI Netstation, Eugene, sampling rate: 250 Hz, impedances: ≤50 kOhms). To establish the intensity of the TMS stimulation (Magstim 200, Magstim Co., Whitland, Dyfed, UK), we first determined the resting motor threshold, defined as the minimum stimulus intensity at which the TMS pulse induced at least five motor evoked potentials (MEP) in ten consecutive trials19. MEPs were recorded on the left hand (contralateral hand to the TMS stimulation) abductor pollicis brevis muscle, using a tendon-belly arrangement. During the instructed fear paradigm, we applied the TMS pulses with intensity of 110% of the resting motor threshold19.

The right dmPFC was targeted as defined in the individual MR images using a neuronavigation system (Localite, Sank Augustin) to the MNI coordinates ([10 12 58]) delimited in a previous fMRI activation study (Meyer et al., unpublished). The MNI coordinates were registered and transformed to the subject-specific MRI using the SPM8 software (http://www.fil.ion.ucl.ac.uk/spm). After locating the stimulation site, the center of the TMS coil was placed tangentially to the scalp surface at the site of stimulation, with the coil oriented in a medial to lateral position at a 45° angle away from the midline with the handle pointing backwards. Based on previous findings4,10,59, TMS was applied 1000 ms after each visual cue presentation (TMS experiment). At the end of the experiment we had a total of 90 trials, from which 36 belonged to the no-threat and 54 to the threat conditions, of which in 33% (18 trials) the painful stimuli was given and were not used in the subsequent analyses, leaving a total of 36 TMS pulses to be analysed for each condition. Further, as control for the TMS experiment, we applied the same instructed fear paradigm and recorded EEG signals without the addition of TMS. This experiment is referred as no-TMS experiment.

In order to ascertain the interpretability of the TMS-evoked responses to fear-responses, as well as to further test the feasibility of the measured evoked activity, a TMS experiment with an increased number of trials (N = 60) without any task involvement was conducted (see supplementary information).

EEG signal processing and analysis

To avoid contamination from TMS-related artefacts in the trials, EEG signals were processed as explained elsewhere (http://www.fieldtriptoolbox.org/tutorial/tms-eeg). First, 25 ms of TMS-related artefact (5 ms before and 20 ms after the TMS pulse) was removed from the EEG data. Signals were then processed to account for line-noise and linear trends. Channels with high amplitudes over long time periods found during visual inspection were deleted trial-by-trial and scalp topology maps were used to further identify any remaining channels with artefacts to reject them, noisy channels were finally interpolated. All EEG analyses on the remaining channels were performed using a combination of FieldTrip (http://www.fieldtriptoolbox.org/) and previously published in-house scripts60. Further detailed information on signal processing can be found in the extended methods section of the supplementary information. The artefact-free EEG data from both experiments was low-pass filtered with a cut-off frequency of 35 Hz and baseline corrected using the 500 ms prior to the visual cue. Event-related (ERP) and TMS-evoked potentials (TEPs) were then computed to identify peaks of activity at the corresponding time intervals of 0 to 1000 ms for ERPs and 1000 to 2000 ms for TEPs. The activity was considered a peak when at least 3 continuous points (12 ms) of the ERP waveform (on both sides) had smaller values. The amplitude at every peak was computed. Furthermore, the difference in amplitudes between threat (CS+ trials without the actual electric shock, US) and no-threat conditions (T-NT) was calculated and fed into further analyses as a marker of excitability-to-threat or dmPFC excitability regulation. To complement these measures, we computed the peak-to-peak differences, indicating the amplitude latency in between pairs of evoked components. For interpretational purposes we computed the TEPs using the same approach.

To ascertain the appropriate signal quality of the evoked potentials the SNR from a pool of all available trials for individual subject waveforms was computed as:

$$SN{R}_{EP}=20\,\mathrm{log}\,10(\frac{{{\rm{TL}}}_{{\rm{signal}}}}{{{\rm{TL}}}_{{\rm{noise}}}})$$

where TLsignal is the mean activity within a time window of 500 ms containing the evoked waves, TLnoise is the average signal at baseline, and SNREP is the SNR for the time window of interest expressed in decibels (dB), providing a straightforward measure that quantifies the signal strength of an evoked waveform61. A time window was used instead of the amplitude peaks since a single point estimate of SNR cannot fully portray the quality of an evoked activity, as it does not capture the variability of the signals61. Therefore, this calculation of SNR on signal averages is the most accurate representation of the evoked quality.

For our main study, the TMS experiment, we divided the scalp into frontal, dmPFC, occipital, central, parietal and temporal regions (Supplementary Fig. 1) and averaged data from the EEG channels from each of these regions.

Heart rate estimation

The heart rate estimation was done from the EEG signals using the extended version of the independent component analysis (ICA) algorithm62 based on information maximization63.

For EEG analysis, the rows of the input matrix y are the EEG signals recorded at the 256 electrodes, the rows of the output data matrix v = X y are time courses of activation of the lCA components, and the columns of the inverse matrix, X−1, give the projection strengths of the respective components onto the scalp sensors.

In general, and unlike principal component analysis (PCA), the component time courses of activation will be non-orthogonal. Corrected EEG signals can then be derived as y′ = (X)−1v′, where v′ is the matrix of activation waveforms,v, with rows representing cardiac artefactual sources which are then extracted for further estimations from each participant. In total for the no-TMS experiment we concatenated the 36 CS+ trials without US to have 180 seconds and 24 CS- trials to have 120 seconds. The same was done for the TMS experiment.

MRI data analysis

The individual MRI data was pre-processed using the FreeSurfer software package v5.3 (https://surfer.nmr.mgh.harvard.edu/). The automated pipeline64,65 included: (i) affine registration into Talairach space, (ii) intensity normalization for image inhomogeneities, (iii) removal of skull and non-brain tissues, (iv) definition of the gray/white matter and gray/cerebrospinal fluid boundaries, (v) surface creation and correction for topology defects and (vi) parcellation of the cortex and subcortical regions66,67.

Data from all subjects was visually inspected for errors during pre-processing and manually corrected when necessary. Volumes of the dmPFC and insula, amygdala and hippocampus of both cerebral hemispheres were computed and corrected by head size in a fully-automated fashion. The anatomical delimitation of the dmPFC was performed according to Etkin, et al.68, see Supplementary Fig. 2.

Statistical analyses

The fear ratings and registered heart rates were compared for differences between the threat and no-threat conditions using paired t-tests. The statistical significance of the differences between the amplitude of the TMS-evoked responses, fear ratings and heart rate for threat and no-threat conditions were corrected for multiple comparisons using FDR, whereas the spatial distribution of every evoked response across scalp locations was evaluated using non-parametric cluster-based statistics69 with 1000 randomizations and a p-threshold of 0.05 to indicate channels within a cluster. After identification of significant amplitude differences, the dmPFC excitability-to-threat (see above) was extracted and further analyzed. Comparison of the cortical excitability-to-threat and dmPFC modulation in between the no-TMS and TMS data was carried out using t-test analyses. The effect sizes (d’), evaluated with the Cohen’s d, are reported for all comparisons.

Furthermore, we adjusted multiple linear regression models to assess the predictive value of registered heart rates and the stress ratings to dmPFC excitability. The same models were used to investigate the anatomical substrates of the cortical excitability-to-threat and the dmPFC-related modulation. To avoid multicollinearity due to spurious correlations between different components of the evoked excitability-to-threat modulation, regression analyses were performed for each peak separately. Each excitability-to-threat peak was then regressed against the volume of the hippocampus, amygdala, insula and dmPFC. We applied a backward elimination in the regression models, where predictors below a 10% significance level were deleted until none were left or statistical significance was reached. From these analyses the r2 corresponding to the combined prediction is reported.

Only supra-threshold values obtained after correction for multiple comparisons (FDR p < 0.05) for condition testing and after contrasting the regression slopes against the null hypothesis (F-test, p < 0.05) for the regression analyses were considered as significant and reported in the manuscript.