4.1. Participants
Out of the initial group of 214 individuals diagnosed with OCD and meeting the specified criteria, who underwent rTMS intervention at the Neuroscience Clinic in Tehran, Iran from 2019 to 2022, only 45 individuals adhered to the assigned intervention with precise parameters. Following the steps illustrated in Figure 4, fourteen participants (7 females, 50.00%; mean age, 32.57 years; SD, 9.8270; range, 20-45) were selected for inclusion in this study. The diagnostic process involved a two-step approval process, with two licensed psychiatrists initially confirming their OCD diagnosis through a Structured Clinical Interview based on DSM-5 criteria. Following this, individuals with a score of 16 or higher on the Yale-Brown Obsessive-Compulsive Scale (Y-BOCS) were considered eligible. To ensure control over medication effects on the results, inclusion criteria also required maintaining a stable medication regimen for at least 6 weeks before and throughout the study. Exclusion criteria included a history of substance abuse, expressed concerns about undergoing rTMS intervention based on a safety screening questionnaire42, concurrent use of alternative treatments, documented instances of seizures, head trauma, brain surgery, intellectual disability, neurological disorders, or recent receipt of electroconvulsive therapy within the last month. Table 3 presents a concise overview of participant demographics and statistics.
4.2. Experimental procedure
The study conducted at a Neuroscience Clinic in Tehran, Iran, under the supervision of Shahid Beheshti University, adhered to the 1964 Helsinki Federation principles and received approval from the ethical review board (IR.SBU.REC.1401.028). After selecting participants based on inclusion and exclusion criteria, informed consent was obtained from all participants after fully explaining the procedure. Pre- and post-tests, including 19-channel EEG and Y-BOCS assessments, were conducted before and after the rTMS intervention. These steps are illustrated in Figure 5.
4.3. rTMS treatment parameters
Both a Magstim Rapid 2 rTMS device (Magstim, UK) and a 70-mm figure-of-8-shaped coil (air film coil) were utilized. The sessions commenced with determining the active motor threshold (AMT) through visual recognition, defined as the lowest TMS intensity eliciting a liminal motor-evoked response during maximum voluntary contraction of the abductor policies brevis muscle (APB). The TMS coil was positioned on the left and right DLPFC following the 10–20 EEG system. Each participant received a personalized white cap, marked at both target locations during the initial session. Sessions encompassed both targets, allocating approximately 20 minutes to the right DLPFC and 18:26 minutes to the left DLPFC, totaling around 40 minutes per session. The right DLPFC protocol incorporated a stimulation frequency of 1 Hz at 120% AMT, comprising 2 stimulation trains lasting 600 s each, with 60 s intervals between trains. This yielded a total of 1,200 pulses per session and 24,000 pulses throughout the entire intervention. The protocol has been modified to employ a frequency of 10 Hz for the left DLPFC at 120% AMT. This includes 75 stimulation trains, each lasting 4 seconds, with 11-second intervals between trains, totaling 3,000 pulses per session and 60,000 pulses overall43.
4.4. Clinical assessments
4.4.1. Y-BOCS
The Y-BOCS served as a tool for evaluating OCD symptoms and assessing changes post-intervention, offering numerous advantages44. Primarily, it quantifies the severity of obsessive-compulsive symptoms and comprehensively explores major obsessions and compulsions, thereby offering essential qualitative insights45. This involves rating symptom severity from 0 to 4 for each of the 5 allocated items in both subscales. Its high sensitivity to treatment responses has established it as a frequently used semi-structured interview instrument46. Additionally, its capability to screen individuals with OCD makes it a valuable choice for various research endeavors. Notably, the Y-BOCS has been translated into diverse languages, with a reported reliability of 0.98 and a Cronbach's Coefficient Alpha exceeding 0.7 for the Persian version47.
4.4.2. EEG recording
EEG recordings were conducted using the Mitsar EEG system and EEG Studio software, in conjunction with a 19 Ag/AgCl ElectroCap. Participants were seated comfortably in a shielded room to minimize external noises. They were instructed to first close their eyes for approximately 4 minutes and then focus on a predetermined dot 1.5 meters away to capture their eye-open condition for the same time. Channels were arranged according to the 10–20 EEG system, with electrodes on FP1/FP2, F3/F4, C3/C4, P3/P4, O1/O2, F7/F8, T3/T4, T5/T6, Fz, Cz, Pz. Figure 6 precisely represents these arrangements48. As depicted, the electrodes encompass the five widely recognized lobes of the brain. A1 and A2 electrodes served as references, maintaining electrode impedance below 5 kΩ, and a sampling frequency of 500 Hz was utilized.
4.5. EEG analysis
4.5.1. Preprocessing
Initially, meticulous selection was undertaken to identify segments of approximately one-minute EEG signals with minimal artifacts. Throughout the recording process, vigilant supervision was maintained to avoid bad channels and mitigate other disruptive factors, thereby ensuring the overall quality of the collected data. A bandpass filtering approach was implemented using a basic finite impulse response (FIR) filter, with low and high cutoff frequencies set at 0.5 Hz and 45 Hz, respectively. Subsequently, the independent component analysis (ICA) technique, complemented by visual inspection, was employed to eliminate artifacts such as eye blinks and eye movements. For comprehensive analysis, nine frequency bands were chosen: Delta (0.5–4 Hz), Theta (4–8 Hz), Alpha I (8–10 Hz), Alpha II (10–12 Hz), Beta I (12–15 Hz), Beta II (15–18 Hz), Beta III (18–25 Hz), Beta IV (25–30 Hz), and Gamma (30–40 Hz).
4.5.2. Functional connectivity calculation
Over recent years, there has been an increased focus on exploring functional connectivity (FC), necessitating the use of appropriate measures to assess the coupling among brain regions and aiming to analyze communication patterns among time series. To assess the topological impact of positive and negative links in the brain and triadic interactions, the FC matrix serves as a valuable tool. To fulfill this aim in the study, the FC matrix was applied individually to each of the six segments within one minute of preprocessed data for each subject, each spanning nine seconds. Subsequently, the six FC matrices were averaged to derive the ultimate FC matrix. The computation of the FC matrix involved a two-step process utilizing topographical profile similarity-based high-order FC (tHOFC) 49. In the initial step, a representation of the low-order FC (LOFC) profile for each electrode was obtained by calculating the FC vector. This was achieved through computing the FC between every pair of electrodes. Subsequently, to gain a more comprehensive insight into the LOFC, tHOFC was computed to represent the similarity of LOFC profiles between every pair of electrodes50. In other words, whereas LOFC concentrates on processing domain-specific information, tHOFC combines information from various domains based on the functional hierarchy49.
The initial step involved considering the weighted phase lag index (wPLI), an extension of the PLI. This choice was made due to its advantages over other functional connectivity measures, including lower sensitivity to noise, capability to mitigate the impact of changes in the coherency phase51, and long-term test-retest reliability52. WPLI, as determined by equation (1)12, quantifies phase synchronization between distinct brain regions. It specifically concentrates on the phase relationship in signals, incorporating the weighting of each phase discrepancy based on lag magnitude. By specifically considering phase differences around zero for calculation, wPLI minimizes the occurrence of identifying erroneous "false positive" connectivity in phase synchronization52.
In Equation (1), the absolute value is represented by |.|, the sign function is denoted as sgn, and the imaginary part is indicated by imag, with t representing the time index and n the total number of time points.
In the subsequent step, the utilization of Pearson correlation was implemented to derive the ultimate FC matrix. This step was essential to incorporate both negative and positive values for examining triadic interactions. Considering that Structural Balance Theory (SBT) has the capability to offer valuable insights into how the presence of a third electrode within a triadic structure can significantly impact the connection between two others20. The practicality of conducting this examination was therefore facilitated by the application of SBT. Similar to certain previous studies12,20, this research also employs four types of triads within this framework to gain insights into the stability of a network in both pre-and post-conditions. Within this context, two types of balanced triads emerge strongly balanced T3 (+ + +) and weakly balanced T1 (+ − −). Conversely, two types of unbalanced triads are identified: strongly unbalanced T2 (+ + −) and weakly unbalanced T0 (− − −) (Figure 3). The symbols "−" and "+" denote asynchrony and phase synchrony, clarifying the sign of functional connectivity (FC) weights between the electrodes. Unbalanced triads inherently seek to transition towards a balanced state due to their instability. This inclination aligns with the minimum energy principle, as systems tend to minimize energy levels for increased stability53. The concept of stability further clarifies disparities between weak and strong states in both balanced and unbalanced conditions. For instance, T2 is considered stronger than T0 because it is more unstable and exhibits a greater tendency to shift towards states with lower energy and heightened stability. Similarly, T3 is stronger and more balanced than T1, given its greater stability21. In this context, the balanced or stable state can be defined as the minimum energy level where there is no dynamic need to alter link signs owing to instability19,21. As depicted in Figure 7, when interactions are unbalanced, the multiplication of their edges yields a negative value. Conversely, in interactions characterized as balanced, this product remains negative.
Considering the crucial role of energy levels in various disorders12,20, we explored the total energy of a network (Un)54 to gain deeper insights into understanding the extent of network balance. In alignment with the Hamiltonian perspective on physical energy55, the computation of Un involved determining the negative of triads' products and dividing the resulting sums by the total number of ternary interactions (equation (2)). The obtained outcomes form a spectrum ranging from -1 to +1, where each end of the spectrum signifies fully strong conditions, with -1 indicating complete strength in balance and +1 representing full strength in unbalanced as well. Consequently, the minimization of Un results in enhanced stability for the network.
Here, 'w' signifies the edge weight of triad Ti, and 'x,' 'y,' and 'z' refer to the electrodes within triad Ti. Lastly, 'N' represents the overall count of triads in the network.
In addition, the utilization of the global hubness metric21 allows for the comparison of brain networks under pre and post-conditions, as well as the comparison of each of these conditions with the normal group, in terms of network topology. Hubs, representing electrodes with a substantial number of connections, are particularly influential in weighted networks where these connections carry significant weights. Given their role as local features, hubs play a pivotal role in shaping the overall topology of the brain network (equation (3)).
The negative and positive degrees of the ith electrode are represented by Di,n and Di,p, while M signifies the complete number of electrodes. Furthermore, wij,n, and wij,p refer to the negative and positive weights connecting the ith electrode with the rest of the electrodes.
Alternatively, for evaluating the potential alterations in TMHs and |Ti|s between pre and post-conditions, as well as between OCD and normal groups, we further examined the occurrence rate or the number of links related to |P| as positive links and |N| as negative ones across all nine frequency bands. This approach was taken even when there are no variations in the quantity of positive and negative links. In this context, Figure. 4 summarizes the steps that have been taken in this regard. In this context, Figure 8 summarizes the steps taken for EEG analysis.
4.6. Statistical analysis
The results obtained from the EEG analysis section were compared between post- and pre-conditions for all nine selected frequency bands separately. Before proceeding, the normality of the obtained results, encompassing both behavioral and EEG data, was assessed using the Shapiro–Wilk test56. As the results confirmed the normality of EEG data, the Paired-Samples T-Test was employed to explore differences between post- and pre-conditions. However, given that all behavioral data did not exhibit normality, a Wilcoxon Signed Rank Test was employed for nonparametric analyses. A significance level of p<0.05 (Fisher permutation) was applied to detect statistically significant variations across all analyses.