Abstract
To determine the effect of implanting electrodes on electrographic features of nearby and connected brain regions in patients with drug-resistant epilepsy, we analyzed intracranial EEG recordings from 10 patients with drug-resistant epilepsy who underwent implant revision (placement of additional electrodes) during their hospitalization. We performed automated spike detection and measured EEG functional networks. We analyzed the original electrodes that remained in place throughout the full EEG recording, and we measured the change in spike rates and network connectivity in these original electrodes in response to implanting new electrodes. There was no change in overall spike rate pre- to post-implant revision (t(9) = 0.1, p = 0.95). The peri-revision change in the distribution of spike rate and connectivity across electrodes was no greater than chance (Monte Carlo method, spikes: p = 0.40, connectivity: p = 0.42). Electrodes closer to or more functionally connected to the revision site had no greater change in spike rate or connectivity than more distant or less connected electrodes. Changes in electrographic features surrounding electrode implantation are no greater than baseline fluctuations occurring throughout the intracranial recording. These findings argue against an implant effect on spikes or network connectivity in nearby or connected brain regions.
Author Summary
We tested whether implanting intracranial electrodes affected interictal spike rates or functional connectivity on preexisting electrodes. We found that the change in electrographic features following electrode implantation was no larger than the baseline fluctuations occurring throughout the intracranial recording. Our results argue against an implant effect on spikes or network connectivity in nearby or connected brain regions.
INTRODUCTION
Patients with drug-resistant epilepsy (DRE) may benefit from surgery or neurostimulation (French, 2007; Kwan et al., 2011; Wiebe et al., 1999). Intracranial EEG (IEEG) monitoring is used to guide surgical planning in these patients. This process involves implanting intracranial electrodes and then recording EEG for days to weeks in order to evaluate the electroclinical features of seizures as well as interictal activity. Studies in humans and animals show that implanting electrodes creates histological changes that may affect spike rates and other brain network features (Liu et al., 1999; Morrell, 2011; Polikov et al., 2005; D. A. Sun et al., 2008; F. T. Sun et al., 2018; Ung et al., 2017; Van Kuyck et al., 2007). Clinical reports raise the concern that this “implant effect” may begin immediately and may affect our ability to localize seizure generators using intracranial recordings (Fountas et al., 2004; Katariwala et al., 2001; Kovac et al., 2014; Roth et al., 2012; Schulze-Bonhage et al., 2010). Our understanding of the effect of electrode implantation on EEG features is limited by the fact that the agents used to study the effect—intracranial electrodes—are the same agents thought to cause it. In other words, we cannot measure the pre-implant IEEG baseline.
One risk of intracranial recording is undersampling important brain regions. To correct this, a minority of patients undergo implant revision during their hospitalization, in which additional electrodes are implanted to address hypotheses that emerge from initial implant recordings (Lee et al., 2014). These cases provide the unique opportunity to observe the IEEG before and after additional electrodes are implanted. Here we analyze data from 10 patients with DRE who underwent implant revision during the course of presurgical IEEG recording. We measure interictal spikes and functional connectivity. We measure the change in EEG features from pre- to post-implant revision on the original electrodes present throughout the entire recording. Next, to test the hypothesis that electrode implantation affects nearby or connected brain regions, we determine whether there is a greater pre- to post-implant change in EEG features on electrodes closer to or more functionally connected to the site of implant revision.
RESULTS
Of the original 16 patients studied, six patients were excluded at the spike validation step (five for poor detector accuracy, and one for sparse spikes). Patients had heterogeneous implant revision targets, anti-seizure medication (ASM) changes, seizure localizations, and other clinical data (Table 1). The average duration of total EEG recording was 16.6 days (range 13–26). An average of 165,061 spikes were detected (range 33,366–364,955; Table S1 in the Supporting Information). Across patients, the original electrode closest to the revision site was on average 7.4 (SD 6.4) mm from the revision site.
ID . | Sex . | Age . | Revision target . | Peri-revision ASM changes . | Seizure localization . | Seizure onset in added electrodes . | Surgery . | 2-year ILAE . | Complications . |
---|---|---|---|---|---|---|---|---|---|
1 | F | 20 | Mesial temporal, peri-lesional | Full restart | Peri-lesional w/ temporal spread | Yes | ATL | Class 2 | Subdural hematoma with first implant |
2 | F | 42 | Multiple frontal targets, occipital | No change (continued home ASMs) | Unclear | No | None | N/A | None |
3 | F | 40 | Parietal | Partial restart | Parietal w/ temporal spread | Yes | ATL | Class 1 | None |
4 | F | 61 | Parietal, temporal neocortical | Paused wean | Temporal neocortical w/ diffuse spread | Yes | RNS | Class 4 | None |
5 | F | 46 | Inferior frontal, temporal neocortical | Full restart | Perisylvian eloquent cortex | Yes | Temporal ablation | Class 5 | None |
6 | F | 57 | Amygdala, cingulate, insula, orbitofrontal | Full restart | Mesial temporal and orbitofrontal | Yes | RNS | Class 4 | None |
7 | M | 33 | Peri-lesional | Partial restart | Diffuse hemispheric | No | DBS | Recent surgery | None |
8 | M | 42 | Peri-lesional | No change (off all ASMs) | Mesial temporal and peri-lesional | Yes | None | N/A | None |
9 | F | 37 | Temporal neocortical | Partial restart | Mesial temporal | No | Temporal ablation | Recent surgery | None |
10 | F | 40 | Peri-lesional | Continued wean | Unknown | No | DBS | Recent surgery | None |
ID . | Sex . | Age . | Revision target . | Peri-revision ASM changes . | Seizure localization . | Seizure onset in added electrodes . | Surgery . | 2-year ILAE . | Complications . |
---|---|---|---|---|---|---|---|---|---|
1 | F | 20 | Mesial temporal, peri-lesional | Full restart | Peri-lesional w/ temporal spread | Yes | ATL | Class 2 | Subdural hematoma with first implant |
2 | F | 42 | Multiple frontal targets, occipital | No change (continued home ASMs) | Unclear | No | None | N/A | None |
3 | F | 40 | Parietal | Partial restart | Parietal w/ temporal spread | Yes | ATL | Class 1 | None |
4 | F | 61 | Parietal, temporal neocortical | Paused wean | Temporal neocortical w/ diffuse spread | Yes | RNS | Class 4 | None |
5 | F | 46 | Inferior frontal, temporal neocortical | Full restart | Perisylvian eloquent cortex | Yes | Temporal ablation | Class 5 | None |
6 | F | 57 | Amygdala, cingulate, insula, orbitofrontal | Full restart | Mesial temporal and orbitofrontal | Yes | RNS | Class 4 | None |
7 | M | 33 | Peri-lesional | Partial restart | Diffuse hemispheric | No | DBS | Recent surgery | None |
8 | M | 42 | Peri-lesional | No change (off all ASMs) | Mesial temporal and peri-lesional | Yes | None | N/A | None |
9 | F | 37 | Temporal neocortical | Partial restart | Mesial temporal | No | Temporal ablation | Recent surgery | None |
10 | F | 40 | Peri-lesional | Continued wean | Unknown | No | DBS | Recent surgery | None |
Abbreviations: F = female, M = male. ASM = anti-seizure medication. ATL = anterior temporal lobectomy, RNS = responsive neurostimulation, DBS = deep brain stimulation. ILAE = International League Against Epilepsy.
Different Measures of Proximity to the Revision Site Agree With Each Other
We examined the correlation between three variables representing different measures of proximity to revised electrodes. For each original electrode we measured (a) the distance to its nearest revised electrode, (b) the co-spike index (the percentage of spikes on the original electrode that co-occur in close temporal proximity with one of the revised electrodes), and (c) the functional connectivity (the average EEG Pearson correlation coefficient with the revised electrodes). Across patients, there was a negative correlation between distance and co-spike index (mean r = −0.52, t test of individual patient Fisher’s r- to z-transformed correlation coefficients: t(9) = −8.70, p < 0.001). There was also a negative correlation between distance and functional connectivity (mean r = −0.37, t(9) = −4.78, p = 0.001), and a positive correlation between co-spike index and functional connectivity (mean r = 0.42, t(9) = 3.50, p = 0.007) (Figure 1). This implies that original electrodes closer to the site of implant revision are more connected to the new electrodes as measured by Pearson correlation and co-spiking. This finding also provides additional validation of the automated spike detections and functional connectivity measurements.
There Is No Consistent Change in Spike Rate Within the Implantation
We compared spike rates between the early and late periods of both the first and second implant (Figure 2). There was no difference in spike rates between the early and late stage of the original electrodes in the first implant (Early M = 1.0 spikes/electrode/min, SD = 1.1; Late M = 1.0 (0.9), t(9) = 0.1, p = 0.90), of the original electrodes in the second implant (Early M = 1.0, SD = 1.0; Late M = 0.6 (0.4), t(9) = 1.0, p = 0.32), or of the added electrodes in the second implant (Early M = 0.5, SD = 0.6; Late M = 0.3 (0.2), t(9) = 1.3, p = 0.23). There was also no difference in the early to late relative spike rate change between the original electrodes in the first versus the second implant (first relative change M = 0.6, SD = 1.3; second relative change M = 0.5, SD = 1.7; t(9) = 0.04, p = 0.97) or between the original electrodes and the added electrodes in the second implant period (original electrodes relative change M = 0.5, SD = 1.7; added electrodes relative change M = −0.0, SD = 0.8; t(9) = −1.0, p = 0.33). This was also true for each tested duration ranging from 3 to 60 hr defining the early and late periods (Table S2 in the Supporting Information). There was no correlation between the early to late duration and the relative spike rate change for the first implant (ρ = 0.05, p = 0.89), the original electrodes in the second implant (ρ = −0.21, p = 0.56), or the added electrodes in the second implant (ρ = 0.07, p = 0.86). These results imply that (a) there is no consistent change in spike rates within either implantation, (b) the post-implantation change in spike rates is similar between the two implants, and (c) the post-revision change in spike rates is similar between newly added electrodes and those electrodes already in place.
Overall Spike Rate Does Not Change Surrounding Electrode Implantation
We next compared the overall spike rate between the pre- and post-revision period. No individual patient had a larger peri-revision change in overall spike rates than expected at randomly chosen time periods (Monte Carlo test with Bonferroni correction). Patient 3, who was the only patient in whom a grid electrode configuration was added, had the largest peri-revision spike rate change (1.1 → 3.5 spikes/electrode/min), although the Monte Carlo analysis was not significant after Bonferroni correction (p = 0.02, α = 0.005). There was no consistent difference across patients between the pre-revision (M = 1.0, SD = 0.9 spikes/electrode/min) and post-revision (M = 1.0, SD = 1.0 spikes/electrode/min) spike rate (t(9) = 0.1, p = 0.95) (Figure 3B). There was also no consistent peri-revision change in spike rate seen using any other peri-revision duration ranging from 6 to 120 hours (Table S3 in the Supporting Information, Bonferroni correction).
The Pre- to Post-Implant Change in the Distribution of Electrographic Features Across Electrodes Is No Larger Than Chance
We measured the peri-revision spike stability, defined as the Spearman rank correlation between the pre- and post-revision spike rate distribution across electrodes (Figures 3C–3F). The spike stabilities for all individual patients and aggregated across patients (M = 0.76, SD = 0.19) were no different from chance (Monte Carlo with Fisher’s method: p = 0.40). The node strength stability (M = 0.75, SD = 0.21) was also no different from chance (p = 0.42). The same findings were observed examining other peri-revision interval durations (Table S3 in the Supporting Information, Bonferroni correction). Taken together, these results imply that the distributions of spike rates and node strength across electrodes do not change more across the peri-revision period than at other time points in the recording.
There Is No Correlation Between the Peri-Revision Change in Electrographic Features and the Proximity to the Revision Site
We next measured the correlation between the relative change in spike rate and distance from the site of implant revision. Figure S1 in the Supporting Information shows the individual patient correlations. Although several individual patients had significant correlations (with inconsistent directions), no correlation was greater than that observed at randomly chosen pseudo-revision times (Monte Carlo test with Bonferroni correction). This suggests that the correlations on individual patient levels are incidental, resulting from the high spatial autocorrelation in spike rates (electrodes close to each other demonstrate similar changes in spike rates) and are not specific to the timing of the implant revision itself. The average correlation across patients between relative spike rate change and distance from the revision site was ρ = −0.15, which was not significant (t(9) = −1.6, p = 0.14). There was no significant correlation seen for other choices of peri-revision durations (Figures 4A and 4C; Table S3 in the Supporting Information). There was also no consistent correlation between relative spike rate change and functional connectivity with the revision site (average ρ = 0.09, t(9) = 1.2, p = 0.26) or between relative spike rate change and co-spike index with the revision site (average ρ = 0.08, t(9) = 0.8, p = 0.46).
We also measured the correlation between the relative change in node strength and distance from the revision site. The average correlation between relative node strength change and distance from the revision site was ρ = −0.01, which was not significant (t(9) = −0.1, p = 0.92). This result was consistent when examining different peri-revision durations (Figures 4B and 4D; Table S3 in the Supporting Information). There was also no correlation between relative node strength change and functional connectivity with the revision site (average ρ = 0.04, t(9) = 0.5, p = 0.62) or between relative node strength change and co-spike index with the revision site (average ρ = −0.06, t(9) = −0.5, p = 0.62). Together, these results indicate that electrodes more proximate to the revision site (as measured by distance, EEG Pearson connectivity, or co-spiking) do not experience a larger change in electrographic features surrounding the implant revision.
Peri-Revision Change in Spike Rate and Node Strength Did Not Differ Across Anatomical Locations
Across all patients, 194 electrodes (19.8%) were outside cerebral tissue; we excluded these from analysis. Three hundred forty-nine (35.6%) of electrode contacts were in white matter, 54 (5.5%) were in mesial temporal regions, 158 (16.1%) were in temporal neocortical regions, and 226 (23.0%) were in other locations. The mean (SD) relative spike rate change in the 24-hr peri-implant interval was 0.3 (1.0) for white matter, 0.5 (1.4) for mesial temporal, 0.3 (0.8) for temporal neocortical, and 0.4 (1.3) for other regions. The difference between groups was not significant (Skillings-Mack χ2(3) = 0.4, p = 0.95). The mean (SD) relative node strength change in the 24-hr peri-implant interval was −0.3 (1.3) for white matter, −0.6 (2.5) for mesial temporal, −1.5 (3.7) for temporal neocortical, and 0.3 (1.5) for other regions. The difference between groups was not significant (Skillings-Mack χ2(3) = 2.3, p = 0.52). There was also no difference seen for any other peri-revision duration (Table S3 in the Supporting Information).
Peri-Revision Change in Spike Rate and Node Strength Did Not Depend on Type of Added Electrode
We tested the effect of added electrode type on relative spike rate and node strength change using a single patient (Patient 2) who had a combination of depth and subdural electrodes added. The median relative spike rate change for original contacts within 20 mm of the nearest added depth contacts was −0.56, which was lower than that observed for contacts within 20 mm of the closest added subdural contacts (9.80) (Mann-Whitney U test: U(Ndepth proximate = 5, Nsubdural proximate = 17) = 16.0, p = 0.041). The median relative node strength change for original contacts within 20 mm of the closest added depth contacts was −1.17, which was not significantly different from that for contacts within 20 mm of the closest added subdural contacts (−0.77) (Mann-Whitney U test: U(Ndepth proximate = 5, Nsubdural proximate = 19) = 41.5, p = 0.70). There was no significant difference in relative feature change between electrodes close to added depth electrodes and those close to added subdural electrodes for any other peri-revision duration or for using a distance threshold of 10 or 30 mm (Table S4 in the Supporting Information). Taken together, these results suggest that the implant effect does not clearly differ by electrode type. However, the fact that this was a single-patient analysis limits interpretation.
DISCUSSION
Establishing the existence of an “implant effect” on electrographic features is challenging without a pre-implantation baseline. In our study, we found no evidence that implanting electrodes affects either the spike rate or network connectivity of preexisting electrodes.
The Change in Spike Rates Within Each Implantation Is Inconsistent Across Patients
We observed no consistent change in spike rates from early to late in the implant. Furthermore, the relative change in spike rate within the revised implant did not differ between the original and the newly added electrodes. This latter result argues against an implant effect producing immediate and transient changes in spike rates. We would expect such an effect to produce a larger change in spike rates on the newly added electrodes compared with the original electrodes (which had been in place for several days by the time of the implant revision). However, this analysis is limited by the several confounders that influence spike rates, including peri-implant sedation, medication changes, and seizures (Spencer et al., 2008).
The Change in Electrographic Features Pre- to Post-Electrode Revision Is No Larger Than Chance
We found no consistent pre- to post-implant revision change in overall spike rates. Also, the pre- to post-revision change in the distribution of spikes rates and network connectivity across electrodes was no higher than that observed at random periods throughout the intracranial recording. This suggests that the effect of implanting new electrodes on electrographic features from other brain regions is no larger than the baseline fluctuations in these features. Some of these fluctuations were large (Figure 3), implying substantial variability in the distribution of spikes across electrodes throughout the recording. This highlights the importance of analyzing prolonged durations to capture the variability in spike location when using interictal data for surgical planning (Conrad et al., 2020; Diamond et al., 2019; Janca et al., 2018).
The peri-revision change in spike rate and node strength did not depend on the distance to, functional connectivity to, or co-spiking with the implant revision site. This analysis tested the hypothesis that implanting electrodes would disproportionately affect spiking and network connectivity in nearby or connected regions. The negative result provides further evidence against a direct effect of electrode implantation on spike rates and network connectivity.
Peri-Revision Electrographic Changes Do Not Differ Across Anatomical Locations
We found no difference in spike rate or node strength change across anatomical locations. This analysis tested the hypothesis that a global implant-related cause—such as anesthesia—may have a disproportionate effect on EEG features in certain anatomical regions. Our negative finding leaves open the possibility that a global implant-related effect causes diffuse EEG changes. However, our other finding of no overall peri-revision spike rate change argues against this possibility.
Limitations
We cannot exclude an exquisitely focal implant effect, influencing only the brain regions immediately underlying the implanted electrodes. Our finding that the electrodes added in the implant revision do not experience a larger change in spike rate compared with the original electrodes argues against this. Future studies incorporating microelectrode recordings could potentially probe the hyper-local effect of implanting additional macroelectrodes.
Two additional major limitations relate to the timing of electrographic changes. First, the 24-hr pause in EEG recording surrounding implant revision precluded us from studying very brief post-implant changes. A future study incorporating intraoperative recordings from patients undergoing implant revision could probe this effect. Finding no implant effect in the immediate post-implantation period would support the feasibility of using immediate postoperative data to localize seizure generators. Second, we could not study electrographic changes that begin after recording finishes. Other studies in long-term implantations described chronic changes in spike rates in response to implanting neurostimulation devices (F. T. Sun et al., 2018; Ung et al., 2017).
Most patients in our study had only stereo-EEG depth electrodes added. We might expect a larger implant effect from the implantation of grid and strip subdural electrodes, particularly in the setting of complications such as hemorrhage and infection. In our secondary analysis of a single patient who underwent addition of both depth and subdural electrodes, we found no consistent difference between electrographic feature change between the original electrodes closest to added depth electrodes and those closest to added subdural electrodes. On the other hand, we observed a nonsignificant (p = 0.02, α = 0.005) trend of peri-revision increased spiking in the single patient who underwent implantation of a subdural grid. This latter result suggests that implantation of subdural grid electrodes may increase spike rates, although this interpretation is limited by our single patient analysis.
Clinical and Research Implications
There is concern that the early post-implant period may be nonideal for gathering electroclinical data to use in surgical planning. Competing evidence supports that this period may either be pro- or anti-convulsive. In favor of the pro-convulsive hypothesis, multiple case series reported non-habitual seizures in the first few days after implanting intracranial electrodes (Fountas et al., 2004; Kovac et al., 2014). Important caveats to these clinical reports are the following: (a) They represent grid/strip implantations, which have higher rates of pro-convulsive complications compared with depth-only implantations. (b) Some non-habitual seizures may simply be clinically subtle scalp-negative seizures. And (c) non-habitual seizures may result from a combination of medication wean and peri-operative sedation, rather than from electrode implantation itself. On the other hand, other groups have reported cases in which electrode implantation alone apparently cured the patients’ epilepsy (Katariwala et al., 2001; Roth et al., 2012; Schulze-Bonhage et al., 2010). A similar mechanism could plausibly cause a temporary decrease in seizures and cortical irritability. Insofar as interictal spikes may serve as a marker for irritable, seizure-prone cortex (Goncharova et al., 2016; Karoly et al., 2016), then these competing hypotheses could predict either an increase or a decrease in spikes after implantation.
We found no electrographic evidence supporting either a pro- or anti-irritative implant effect on nearby or connected brain regions. With our study’s limitations noted above, our findings suggest that early periods (24+ hr after electrode implantation) in intracranial recording represent the patient’s typical interictal network. These findings argue against discounting early post-implantation IEEG recording for clinical use in surgical planning or in research aimed at understanding interictal networks.
MATERIALS AND METHODS
Patient Selection, Clinical Data Review, and Intracranial Recording
This retrospective study was approved by the Hospital of the University of Pennsylvania (HUP) Institutional Review Board. Informed written consent was obtained from each participant. We examined 16 sequential patients with DRE who underwent IEEG recording during presurgical evaluation at HUP and who had electrode revision during their hospitalization. Implant revision was performed to sample brain regions not captured in the original recording and hypothesized to be involved in the seizure network. A board-certified epileptologist reviewed clinical charts for clinical information and two-year International League Against Epilepsy (ILAE) surgical outcomes, when available (Wieser et al., 2001). The methods for intracranial EEG recording, electrode localization, and seizure identification are described in the Supporting Information.
EEG Preprocessing, Artifact Rejection, Spike Detection, and Functional Network Calculation
EEG recording was usually paused or leads were disconnected surrounding the implant revision (mean [M] total gap in data 25.9 hr, standard deviation [SD] 10.5 hr). Five-minute continuous segments of IEEG were selected at random from every 30 min of the full recording duration, excluding this gap and time periods containing seizures. This downsampling was performed to reduce computation time. The EEG signal on each 5-min segment and each electrode was then subjected to automated artifact detection to identify and remove periods of heavy noise or disconnection (see the Supporting Information).
We performed automated interictal spike detection using a previously validated detector, described in the Supporting Information (Brown et al., 2007). We next calculated the co-spike index for each original electrode, defined as the proportion of spikes that co-occurred within 50 ms on any revised electrode (50 ms chosen based on previous studies of spike propagation; Baumgartner et al., 1995; Bourien et al., 2005; Tomlinson et al., 2016). The co-spike index was averaged across all post-revision EEG segments. The co-spike index measured the degree of connectivity to the revised electrodes as measured by spiking, where a higher co-spike index implied higher spike-related connectivity. We also calculated functional networks for each segment by measuring the Pearson correlation coefficient between the EEG signals on every pair of original electrodes (Supporting Information). As a measure of functional connectivity to the revised electrodes, we then calculated, for each original electrode, the Pearson correlation coefficient with every revised electrode, averaged over all revised electrodes and across all post-revision EEG segments.
Within-Implant Electrographic Changes
We defined an early period and a late period for both the first and the second implant of each patient, defined respectively as the first 12 hr and the last 12 hr of the implant (Figure 2A). The choice of 12-hr period probed acute and potentially transient post-implantation changes, given evidence for changes in clinical seizures that may begin soon after implantation and persist up to 3 days (Kovac et al., 2014). As a secondary analysis, we examined shorter periods of 3 hr and 6 hr, as well as longer periods ranging from 24 to 60 hr in 6-hr steps (Bonferroni correction for multiple periods in secondary analyses).
We compared the overall spike rate between the early and late implantation periods using a paired t test across patients. We performed this analysis separately for three conditions: (a) the original electrodes in the first implant, (b) the original electrodes in the second implant, and (c) the added electrodes in the second implant. We next measured the relative change in spike rate between the early and late period for each of the three conditions. We tested for a difference in the early to late relative spike rate change between the first and second electrode implantation, as well as between the newly added electrodes and the original electrodes in the second electrode implantation using two separate paired t tests across patients. Finally, we tested whether patients with longer implant durations had a larger relative change in spike rates. To do this, we measured the time between the beginning of the early period and the beginning of the late period of each implant, and we calculated the Spearman rank correlation across patients between early to late time difference and relative spike rate change.
Analysis of Electrographic Changes Pre- to Post-Implant Revision
We restricted subsequent analyses to the original electrodes that remained in place throughout the entirety of recording, allowing us to directly compare pre- and post-revision features on these electrodes. Our primary analysis defined a 24-hr peri-revision interval (12-hr pre-revision and 12-hr post-revision, ignoring periods of electrode disconnection). We repeated this analysis for peri-revision interval durations of 6 and 12 hr, as well as longer durations from 36 to 120 hr, in steps of 12 hr (with Bonferroni correction for this secondary analysis).
Change in Electrographic Features Surrounding Implant Revision
We determined whether the peri-revision change in overall spike rate was larger than expected for random times throughout the recording. We compared the change in overall spike rates from pre-revision to post-revision against that obtained from 10,000 Monte Carlo iterations drawing from the original dataset but using randomly chosen pseudo-revision times. For the Monte Carlo iterations in this and in subsequent analyses, we added a peri-pseudo-revision pause equal to the duration of paused recording or electrode disconnection surrounding the revision. This pause prevented a bias wherein Monte Carlo iterations would otherwise compare time periods in closer temporal proximity than the true peri-revision calculation. The Monte Carlo p value was the proportion of iterations for which the absolute value of the pseudo-revision spike rate change was greater than or equal to the true peri-revision spike rate change (α = 0.005, Bonferroni correction for testing 10 patients). We next tested whether there was a consistent difference between spike rates in the pre- versus post-revision periods across patients using a paired t test (α = 0.05).
We next examined how the distribution in spikes across electrodes changed in the peri-revision period. Separately for the pre- and post-revision periods, we defined the spike rate distribution vector to be the average spike rate in each electrode in that period. We defined the spike stability as the Spearman rank correlation between the pre- and post-revision spike rate distribution vectors. Higher spike stability implies a lower change in the spike rate distribution across electrodes between the pre- and post-revision periods. We used a Monte Carlo test (10,000 iterations) to determine whether the peri-revision spike stability was lower than expected for randomly chosen pseudo-revision times for any individual patient (α = 0.005, Bonferroni correction). We performed Fisher’s combined probability test to aggregate p values across patients (α = 0.05) (Fisher, 1934). A significant result implies that the peri-revision change in spike rate distribution is larger than expected for randomly chosen times.
We also tested whether the distribution in functional connectivity changed in the peri-revision period. We measured the node strength of each original electrode, defined as the sum of the Pearson correlation coefficients across other original electrodes (Fornito et al., 2016). We measured the average node strength in each electrode in each time period, defining a connectivity distribution vector for each period. We defined the node strength stability as the Spearman rank correlation between the pre- and post-revision vectors. We performed a Monte Carlo test (10,000 iterations) to compare the node strength stability with that observed at random pseudo-revision times (α = 0.005). We performed Fisher’s combined probability test to aggregate p values across patients (α = 0.05).
Correlation Between EEG Feature Changes and Distance From and Connectivity To Implanted Electrodes
We hypothesized that changes in spike rate and functional connectivity would be larger for original electrodes closer to or more connected to the site of implant revision. We examined three proximity measures for each original electrode: the Euclidean distance to its nearest newly implanted electrode, the average Pearson connectivity to the new electrodes, and the co-spike index with the new electrodes.
We calculated the peri-revision relative change in spike rate and node strength between the pre- and post-revision periods. We then measured the Spearman rank correlation between the vector representing the peri-revision relative change in the electrographic feature and the vector representing the proximity to the revision site (each vector was NEO × 1 in size, where NEO is the number of original electrodes), defining the proximity-change correlation. Electrodes with zero spikes pre-revision sometimes had an infinite relative increase in spike rate. This occurred for an average of 5.3 (3.8%) electrodes across patients. Spearman correlation ranks these electrodes as tied for the highest relative spike rate change. We performed a Monte Carlo test (10,000 iterations) to test whether the proximity-change correlation was larger than expected for randomly chosen pseudo-revision times (α = 0.005). We next tested whether there was a consistent direction of correlation between the EEG feature and proximity measure across patients. We performed Fisher’s r- to z-transformation on each proximity-change correlation to transform it to an approximately normally distributed value z (Fisher, 1915). We aggregated the z values across patients and performed a two-sided t test to determine whether these were significantly different from 0 (α = 0.05).
Anatomical Differences in Changes in Peri-Revision Spike Rate and Connectivity
We next tested whether different anatomical regions demonstrate different changes in peri-revision spike rate or connectivity. This method is described fully in the Supporting Information.
Effect of Electrode Type on Implant Effect
We asked whether electrode type—depth versus subdural—influenced the effect of electrode implantation on spike rates and functional connectivity. We performed a limited within-patient analysis on Patient 2 (the only patient with both depth and subdural electrodes added). We measured the distance in millimeters between each original electrode and the nearest added depth and subdural electrode, respectively. We identified those electrodes whose distance was less than 20 mm (a threshold chosen based on visualizing a histogram of distances; we also tested threshold distances of 10 and 30 mm). We compared the peri-implant relative change in spike rate and node strength between those electrodes most proximate to added depth electrodes and those most proximate to added subdural electrodes using a Mann-Whitney U test.
Statistical Analysis
All analyses were performed in MATLAB 2021a (Mathworks). The Skillings-Mack test was performed using the skillmack package in MATLAB (Pingel, 2010). EEG data are publicly available on ieeg.org. All code, along with an intermediate dataset containing spike detections and network calculations, is available on GitHub (Conrad, 2021; https://github.com/erinconrad/interictal_hubs/tree/main/implant_analyses).
ACKNOWLEDGMENTS
The authors thank Jacqueline Boccanfuso for her help curating EEG data.
SUPPORTING INFORMATION
Supporting information for this article is available at https://doi.org/10.1162/netn_a_00248.
AUTHOR CONTRIBUTIONS
Erin Conrad: Conceptualization; Formal analysis; Writing – original draft. Russell Shinohara: Formal analysis; Supervision; Writing – review & editing. James Gugger: Validation; Writing – review & editing. Andrew Revell: Visualization; Writing – review & editing. Sandhitsu Das: Methodology; Software; Writing – review & editing. Joel Stein: Methodology; Software; Writing – review & editing. Eric Marsh: Conceptualization; Writing – review & editing. Kathryn Davis: Conceptualization; Supervision; Writing – review & editing. Brian Litt: Conceptualization; Supervision; Writing – review & editing.
FUNDING INFORMATION
Erin Conrad, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: R25 NS-065745. Erin Conrad, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: NIH 1K23NS121401-01A1. Russell Shinohara, National Institute of Mental Health (https://dx.doi.org/10.13039/100000025), Award ID: R01MH112847. Russell Shinohara, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: R01NS060910. James Gugger, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: T32NS091006. James Gugger, American Epilepsy Society (https://dx.doi.org/10.13039/100001454). Andrew Revell, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: 5-T32-NS-091006-07. Eric Marsh, Intellectual and Developmental Disabilities Research Center (https://dx.doi.org/10.13039/100007857), Award ID: P50 HD105354 Project 8785. Kathryn Davis, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: R01NS116504. Kathryn Davis, National Institute of Mental Health (https://dx.doi.org/10.13039/100000025), Award ID: R01MH117155. Kathryn Davis, Pennsylvania Tobacco Fund. Kathryn Davis, Thornton Foundation. Brian Litt, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: DP1NS122038. Brian Litt, National Institute of Neurological Disorders and Stroke (https://dx.doi.org/10.13039/100000065), Award ID: 2R56NS099348-05A1. Brian Litt, The Mirowski Family Foundation. Brian Litt, Jonathan and Bonnie Rothberg.
COMPETING INTERESTS
R. T. Shinohara receives consulting income from Octave Bioscience, and compensation for reviewing scientific articles from the American Medical Association and for reviewing grants for the Emerson Collective, the National Institutes of Health, and the Department of Defense. S. Das is a consultant for Nia Therapeutics. J. M. Stein receives support from two sponsored research agreements with Hyperfine Research, Inc., and he is a consultant for Centaur Diagnostics, Inc. K. A. Davis reports the following conflicts of interest: Eisai (research funding, advisory board), Eton Pharmaceuticals (advisory board), GW Pharmaceuticals (consultant), SK Life Science (advisory board), and Pfizer (consultant).
TECHNICAL TERMS
- Co-spike index:
The proportion of spikes in a given original electrode that co-occurred within 50 ms on any revised electrode. The tendency for original electrodes to have spikes occur simultaneously with those on revised electrodes.
- Spike stability:
Spearman rank correlation between the pre- and post-revision spike rate distribution. The agreement between the distribution of spike rates across electrodes pre- to post-revision (higher spike stability → less peri-revision change).
- Spike rate distribution:
Vector containing the average spike rate of each electrode. The distribution of spike rates across electrodes.
- Node strength stability:
Spearman rank correlation between the pre- and post-revision connectivity distribution. The agreement between the distribution of connectivity across electrodes pre- to post-revision (higher node strength stability → less peri-revision change).
- Node strength:
Sum of the Pearson correlation coefficients between the EEG signal on a given electrode and the EEG signals on all other electrodes. A measure of overall connection strength for a given electrode (higher node strength → more connected).
- Connectivity distribution:
Vector containing the average node strength of each electrode. The distribution of connection strength across electrodes.
REFERENCES
Supporting Information
Author notes
These authors contributed equally.
Handling Editor: Sarah Muldoon