Skip to main content
eLife logoLink to eLife
. 2022 May 20;11:e72929. doi: 10.7554/eLife.72929

Lead-OR: A multimodal platform for deep brain stimulation surgery

Simón Oxenford 1,†,, Jan Roediger 1,2, Clemens Neudorfer 1,3,4, Luka Milosevic 5,6, Christopher Güttler 1, Philipp Spindler 7, Peter Vajkoczy 7, Wolf-Julian Neumann 1, Andrea Kühn 1, Andreas Horn 1,3,4
Editors: Lars Timmermann8, Christian Büchel9
PMCID: PMC9177150  PMID: 35594135

Abstract

Background:

Deep brain stimulation (DBS) electrode implant trajectories are stereotactically defined using preoperative neuroimaging. To validate the correct trajectory, microelectrode recordings (MERs) or local field potential recordings can be used to extend neuroanatomical information (defined by MRI) with neurophysiological activity patterns recorded from micro- and macroelectrodes probing the surgical target site. Currently, these two sources of information (imaging vs. electrophysiology) are analyzed separately, while means to fuse both data streams have not been introduced.

Methods:

Here, we present a tool that integrates resources from stereotactic planning, neuroimaging, MER, and high-resolution atlas data to create a real-time visualization of the implant trajectory. We validate the tool based on a retrospective cohort of DBS patients (N = 52) offline and present single-use cases of the real-time platform.

Results:

We establish an open-source software tool for multimodal data visualization and analysis during DBS surgery. We show a general correspondence between features derived from neuroimaging and electrophysiological recordings and present examples that demonstrate the functionality of the tool.

Conclusions:

This novel software platform for multimodal data visualization and analysis bears translational potential to improve accuracy of DBS surgery. The toolbox is made openly available and is extendable to integrate with additional software packages.

Funding:

Deutsche Forschungsgesellschaft (410169619, 424778381), Deutsches Zentrum für Luft- und Raumfahrt (DynaSti), National Institutes of Health (2R01 MH113929), and Foundation for OCD Research (FFOR).

Research organism: Human

eLife digest

Deep brain stimulation is an established therapy for patients with Parkinson’s disease and an emerging option for other neurological conditions. Electrodes are implanted deep in the brain to stimulate precise brain regions and control abnormal brain activity in those areas. The most common target for Parkinson’s disease, for instance, is a structure called the subthalamic nucleus, which sits at the base of the brain, just above the brain stem.

To ensure electrodes are placed correctly, surgeons use various sources of information to characterize the patient’s brain anatomy and decide on an implant site. These data include brain scans taken before surgery and recordings of brain activity taken during surgery to confirm the intended implant site. Sometimes, the brain activity signals from this last confirmation step may slightly alter surgical plans. It represents one of many challenges for clinical teams: to analyse, assimilate, and communicate data as it is collected during the procedure.

Oxenford et al. developed a software pipeline to aggregate the data surgeons use to implant electrodes. The open-source platform, dubbed Lead-OR, visualises imaging data and brain activity recordings (termed electrophysiology data) in real time. The current set-up integrates with commercial tools and existing software for surgical planning.

Oxenford et al. tested Lead-OR on data gathered retrospectively from 32 patients with Parkinson’s who had electrodes implanted in their subthalamic nucleus. The platform showed good agreement between imaging and electrophysiology data, although there were some unavoidable discrepancies, arising from limitations in the imaging pipeline and from the surgical procedure. Lead-OR was also able to correct for brain shift, which is where the brain moves ever so slightly in the skull.

With further validation, this proof-of-concept software could serve as a useful decision-making tool for surgical teams implanting electrodes for deep brain stimulation. In time, if implemented, its use could improve the accuracy of electrode placement, translating into better surgical outcomes for patients. It also has the potential to integrate forthcoming ultra-high-resolution data from current brain mapping projects, and other commercial surgical planning tools.

Introduction

During deep brain stimulation (DBS) surgery, different sources of information are used to ensure precise placement of the electrodes within the target structure. Functional stereotactic coordinates (defined relative to anatomical atlas landmarks) are often used as a starting point (indirect targeting). Then, more importantly, preoperative MRI sequences optimized to visualize target structures are used to refine the initial plan (direct targeting). Surgical planning is usually carried out after fusing the MRI sequences with a computed tomography (CT) volume acquired with the stereotactic frame and fiducial plates already mounted to the patient’s head. The fiducial plates include markers that are used to convert stereotactic coordinates (established in the planning software) to frame coordinates (applicable to mechanically adjust the stereotactic frame) in order to place electrodes to the intended target.

During the surgical procedure, microelectrode recordings (MERs), as well as test stimulations carried out using macroelectrodes, are often used as an additional confirmation step of placement in the intended target site. While the necessity of the former step has been debated (Aviles-Olmos et al., 2014) and the procedure may lead to slightly increased rates of complications (Zrinzo et al., 2012), the experience of our own high-volume center is that roughly every fifth patient’s surgical plan will be slightly altered based on electrophysiological signals, with similar experiences reported by others (Lozano et al., 2018). Of specific relevance is the role of brain shift occurring due to air entering the skull during surgery: even with optimal imaging and meticulous surgical planning beforehand, brain shift may lead to nonlinear displacement of the brain relative to the skull and stereotactic frame (Halpern et al., 2008), which can only be monitored intraoperatively (e.g., using the electrophysiological data recorded with microelectrode probes). While most centers analyze MERs by visual and auditory inspection from expert neurosurgeons or neurologists, the first FDA and CE-approved machine-learning algorithms that facilitate this monitoring step have recently been introduced, for instance, in the form of the HaGuide system created by the company Alpha Omega Engineering (Nazareth, Israel; Thompson et al., 2018).

Still, understanding and communicating the complex neuroanatomical and neurophysiological relationships within the clinical team during the procedure may remain a challenge even for experts. To account for this, Krüger, 2020 introduced the concept of navigated DBS surgery, showing that a visual feedback of the microelectrode position can be helpful to mentally envision the ongoing 3D scene.

In parallel, reconstructions of DBS target regions based on elaborate MRI sequences have become increasingly precise (Horn, 2019; Krauss et al., 2021). Specialized MRI sequences have been introduced to maximize visibility and boundary definitions of pallidal, thalamic (Tourdias et al., 2014; Sudhyadhom et al., 2009; Vassal et al., 2012), and subthalamic (Santin et al., 2017; Wang and Liu, 2015) targets. But even when relying on a set of standard sequences (e.g., T1 and T2), modern reconstruction pipelines have the capability to reconstruct the subthalamic nucleus (STN) and internal segment of the globus pallidus (GPi) with a precision that rivals manual expert segmentations (Ewert et al., 2019). Over recent years, these methods have made it possible to transform the 2D representations of stereotactic imaging slices into 3D models that are not only graphically appealing but indeed realistic and meaningful (Horn and Kühn, 2015). As a by-product, these tools have made it possible to accurately register atlas data into the patient-specific model. With atlas data, here, we generally refer to an array of ultra-high-resolution imaging resources that could be based on histology (Ilinsky et al., 2018; Ewert et al., 2018; Amunts et al., 2013), postmortem MRI (Edlow et al., 2019), or even expert anatomical knowledge aggregated in three-dimensional fashion (Petersen et al., 2019). Similarly, atlas data could represent optimal stimulation sites defined on a group level, for instance, in the form of probabilistic sweet spot targets (Dembek et al., 2019; Boutet et al., 2021; Elias et al., 2021; Horn et al., 2017) or tractography-defined DBS target atlases (Li et al., 2020; Treu et al., 2020; Al-Fatly et al., 2019).

Here, we present an integrative approach to combine information derived from neuroimaging and neurophysiology in a joint visualization platform. First, we build on recent validations of subcortical normalization routines to introduce a method to refine 3D models of subcortical targets on a single patient level. Second, we port our methodology for postoperative electrode localization established within Lead-DBS software (https://www.lead-dbs.org; Horn and Kühn, 2015) to the pre- and intraoperative realm, that is, the one of stereotactic planning, MERs, and intraoperative testing. To achieve this, we present and validate a novel unified software framework termed Lead-OR that incorporates the following resources into a live visualization scene: (1) patient-specific imaging, (2) stereotactic planning information, (3) real-time microelectrode localization, (4) MER feature extraction, and (5) high-resolution atlas imaging data. The capability of the system to integrate electrophysiological information with imaging data is explored in-depth. Beyond this feature, the tool also includes the possibility to visualize test stimulations and real-time fiber tractography. The software framework is made available as an open-source package (https://github.com/netstim/SlicerNetstim) and currently supports integration with the Brainlab Elements (Brainlab AG, Munich, Germany) planning software and a direct interface to the NeuroOmega system (Alpha Omega Engineering). Further integrations with other systems are planned in the future.

Methods

Ethics statement

Lead-OR is intended for purely academic research use and does not have any form of government body regulatory approval. As such, any use of Lead-OR is strictly limited to Institutional Review Board (IRB)-approved research studies at individual academic institutions, while legal frameworks and practices may differ from country to country. The collection and analysis of all patient data used for this article were approved by the local ethics committee of Charité – Universitätsmedizin Berlin (master vote EA2/145/21). All data were analyzed retrospectively and obtained in deidentified form from Medical Records of Charité. Hence, following local guidelines in Berlin/Brandenburg as well as NIH guidelines for human subjects research, no explicit patient consent to analyze and publish was obtained/necessary.

Implementation environment

The tools used in this study are implemented in the form of a 3D Slicer (Slicer) (Fedorov et al., 2012; Kapur et al., 2016) extension (https://github.com/netstim/SlicerNetstim). The main module of the SlicerNetstim extension is Lead-OR, which assembles the different sources of information, as outlined in the following sections.

Coordinate systems

The first step in aggregating data from different sources is to co-register their spatial relationship and coordinate systems (Figure 1). Lead-OR is based on Slicer’s world-coordinate system (RAS). We use a linear transform to match the Head-Ring center and positive axes to the origin of this world-coordinate system. The planned central trajectory is then defined based on target coordinates, mounting type, and ring and arc angles. The other trajectories are defined relative to the central one, following the configuration of the Ben-Gun microarray. As mentioned, currently, support for the NeuroOmega setup has been implemented, which uses a Ben-Gun array first introduced by the team of Alim-Louis Benabid (Benazzouz et al., 2002).

Figure 1. Patient-specific visualization generated by aggregating different sources of data.

Figure 1.

The stereotactic planning procedure defines the surgical target coordinate, as well as ring and arc angles, which together describe the central trajectory. The Ben-Gun configuration presented in the figure shows additional posterolateral and anteromedial trajectories, 2 mm apart from the central one. Up to five trajectories are currently supported by the software. In our current setup, the distance to the target is controlled by the NeuroOmega system, accessed with its Software Development Kit (SDK) – but can alternatively be set manually within the tool itself. Relevant subcortical nuclei have been warped to patient space via a manually refined normalization. GPe: external segment of the globus pallidus; GPi: internal segment of the globus pallidus; STN: subthalamic nucleus; RN: red nucleus.

These trajectories describe a line in space through which the macro, micro, and definitive DBS electrodes are inserted. The last parameter to fully define their position varies throughout surgery, namely, the distance to the planned target. This parameter is set by the Microdrive, which allows to move the electrodes along the trajectories while recording from the tip of the microelectrodes. In our current setup, this value is queried via the NeuroOmega Software Development Kit (SDK) and alternatively can be manually controlled within the software itself. Interfacing to similar systems as the NeuroOmega device will be possible given the open-source nature of our tool and creating such interfaces with other systems is in our interest for the future.

To co-register the patient’s images and frame reference, the tool uses a set of fiducial points defined in both coordinate systems (image and frame) that we extract from the surgical planning coordinates. Specifically, the anterior commissure (AC) and posterior commissure (PC), as well as a midsagittal point (MS), are used to create the transform (implemented using the fiducial registration module available within Slicer). Currently, an interface with the Brainlab Elements (Brainlab AG) stereotactic planning software is implemented (via PDF export in Elements and automated import in Lead-OR). Again, support for alternative planning tools is planned for the future.

Finally, we incorporate high-resolution atlas resources into the patient-specific visualization scene. For the present examples within the article, we used nuclei from the DISTAL (Ewert et al., 2018) and MNI PD 25 histology atlases (Xiao et al., 2017) that were defined in MNI space (ICBM 2009b Nonlinear Asymmetric, Fonov et al., 2009). Similarly, we imported histological sections from the BigBrain atlas (Amunts et al., 2013) and fiber tract definitions provided by the holographic basal ganglia pathway atlas (Petersen et al., 2019). In the same fashion, virtually any type of atlas data could be imported to the patient scene, but it is crucial that this registration is of utmost precision. To account for this, we built on the long-standing methods development within Lead-DBS (Horn and Kühn, 2015; Horn et al., 2019; Ewert et al., 2019; Vogel et al., 2020; Edlow et al., 2019) but drastically extended the procedure with a novel manual refinement method, termed WarpDrive. Namely, an initial deformation field was calculated via a multispectral four-stage normalization step using the symmetric normalization (SyN) transformation model implemented within Advanced Normalization Tools (ANTs; http://stnava.github.io/ANTs/; Avants et al., 2008). This was implemented using the ‘effective: low variance + subcortical refinement’ preset defined in Lead-DBS, which has been optimized for normalization of subcortical structures (Horn et al., 2019) and has shown to yield accurate segmentations of subcortical nuclei that rival the ones carried out manually by experts (Ewert et al., 2019; Vogel et al., 2020). The deformation fields derived from this automated step are then further manually refined using WarpDrive, which is described in the next section.

Normalization refinement

While normalization algorithms have become increasingly accurate (Vogel et al., 2020; Ewert et al., 2019), their precision is not always perfect in single subjects and shows varying accuracy throughout the brain. Indeed, accurate automated registration of the basal ganglia nuclei presents a challenge to intensity-based registration methods given their low contrast between regions (Ewert et al., 2019).

Using WarpDrive, an experienced user can recognize such mismatches included in the automated normalization and manually refine the displacement field using point-to-point and line-to-line fiducials as well as a smudge tool. Manually entered fiducials are fed into the Plastimatch software (Sharp et al., 2010) (accessed as a command line module from within Slicer). Details about the WarpDrive tool will be reported and evaluated elsewhere. Figure 2 shows an example of a manually refined normalization, and Figure 2—video 1 shows a demo application of the tool to refine atlas-to-patient fits in a surgical case.

Figure 2. Output of a Lead-DBS/Advanced Normalization Tools (ANTs)-based automated normalization with and without subsequent manual refinement.

Two MRI modalities are shown anterior commissure-posterior commissure (AC-PC) aligned: T1-MPRAGE (left) and T2-TSE (right). Both MRI modalities (together with FGATIR, not shown here) were used as an input to the normalization step implemented in Lead-DBS, which allows multispectral registration using ANTs. The white outline shows atlases: MNI PD 25 histology (Xiao et al., 2017) (left) and DISTAL (Ewert et al., 2018) (right), both included within Lead-DBS.

Figure 2.

Figure 2—video 1. General overview of the visualizations and tools made available through the WarpDrive module implementation in Slicer.
Download video file (8.3MB, mp4)
The video shows an image normalized to MNI space and how the Smudge and Drawing tools can help refine the displacement field.

Real-time implementation

Lead-OR has the potential to be used in real-time during surgery. As mentioned above, one aspect of this is the continuous/live updating of the microelectrode distance to the surgical target while keeping the scene (i.e., multiple 2D and 3D views) synchronized. The interface to the NeuroOmega device provides live data about how distant the microelectrodes are to the target and also streams out electrophysiological recordings made in a real-time manner. Finally, test stimulations can be visualized, including a function for live-tractography visualization estimating ‘activated’ or ‘modulated’ tracts.

To make this possible, we included the NeuroOmega C++ SDK as part of a Slicer loadable module. This module sets up the connection to the NeuroOmega device and queries the distance to the target in specified time intervals. It also displays the available channels from which recorded electrophysiological data can be streamed, stored, processed, and visualized.

Through the Lead-OR module, the microelectrode Ben-Gun configuration is defined and the NeuroOmega channels are linked to the selected trajectories. Together with the aforementioned image-to-frame transform, as well as the distance to the target, this allows to define the anatomical location of the electrophysiological signal in real time. The features extracted from recordings are projected into the patient-specific space and represented in the 2D/3D visualization (Figure 3). The computation of features is continuously executed for each position of the microdrive, updating the recording stream at each time point. This process takes a few seconds (depending on available hardware), and the visualization is then updated.

Figure 3. Overview of the SlicerNetstim extension.

Figure 3.

The current setup shows interfaces with specific commercial products. Similar interfaces to competing tools are planned and will be included in the future. A PDF plan exported from Brainlab Elements is used as an input to the Stereotactic Plan module to store the planned trajectory as a Slicer Transform. The NeuroOmega system is connected via its Software Development Kit (SDK) through the Neurophysiology module, providing continuous updates about the drive depth and electrophysiological channel input. Finally, in the Lead-OR module, the Ben-Gun configuration is defined by selecting the used trajectories and assigning them to input channels from the NeuroOmega device. Using a transform hierarchy, the spatial position of the microelectrode is defined: the Ben-Gun translation is transformed by the distance to the target, this one itself being transformed by the planned trajectory. By doing so, the features extracted from the respective microelectrode recordings (MERs) can be mapped to their spatial location. At our center, an automatic pipeline for preprocessing data retrieved from a picture archiving and communication system (PACS) system is setup using the NORA medical imaging platform (https://www.nora-imaging.com/) to automatically run the core Lead-DBS pipeline once images arrive in the hospital’s PACS system. This part (right-hand side) is not discussed in detail since it is largely specific to our center.

(Re-)developing a signal processing pipeline for electrophysiological data was not the focus of this study since a multitude of tools exist, which could be integrated into Lead-OR in the future. However, to demonstrate live processing and visualization of electrophysiological features, for now we included two minimal processing pipelines for MER. (Currently, no pipeline for local field potential recordings is included, but this could be similarly extended given the open-source nature of the tool.).

The first is the signal’s normalized root mean square (NRMS) value, which is computed as described in Zaidel et al., 2009. For each step (Microdrive position), a stable part of the recorded data is extracted to compute the RMS on (see Zaidel et al., supplementary material). To obtain a normalized measure, the values along the trajectory are divided by the median of the first five stable steps. To visualize results in space, Lead-OR projects a tube along the trajectory with varying radius and color – both redundantly representing NRMS magnitude. Potentially, in the future, radius and color could be assigned to represent different features that could graphically combine information derived from MER and local field potential signals.

The second processing pipeline is based on spike analysis. This is implemented by running the WaveClus (Chaure et al., 2018) automatic pipeline with negative threshold on the recorded files once the drive moves to the next position. Clusters with less than 100 spikes or in which 10% of the inter spike intervals (ISIs) are below 3 ms or in which signal-to-noise ratio (SNR) is less than 1.5 are discarded. SNR is computed as described in Joshua et al., 2007 using the residual method. We assume the recordings capture singe-unit activity (SUA) instead of multiunit activity (MUA), and thus each recording can represent none or one cluster of spikes. One of the reasons behind this assumption is, for example, that changes in amplitude recording from the same unit might be misclassified as different clusters. Spike clusters are represented as fiducials placed in the position they were detected. Figure 3 summarizes the described live-processing setup.

Stimulation module

Intraoperative assessment of stimulation-induced therapeutic as well as side effects can yield important information about electrode placement. For example, electrode placement close to the internal capsule may lead to tonic muscle contractions at low stimulation amplitudes. Often, these thresholds are intraoperatively identified by stimulating at increasing steps until muscle contractions and/or electromyography (EMG) activity are observed. Since Lead-OR already visualizes the patient-specific location of the stimulation sites, volumes of tissue activated (VTA) could be used as seeds for tractography. Fiber analysis was carried out by accessing the logic of the SlicerDMRI module (Norton et al., 2017).

Obtaining preoperative diffusion MRI data is not part of clinical practice at all DBS centers. In cases where patient-specific dMRI data is not available, an alternative is to use normative fibers that are defined in template space and warped into patient space (similar to other types of atlas data). This process can at times even come with advantages, for example, the absence of false-positive fibers when using manually curated normative datasets (Petersen et al., 2019; for a more thorough discussion, see Horn and Fox, 2020). For the purpose of this article, we will refer to the term tractography as the process to filter and visualize tracts derived from such normative datasets or whole-brain tractography connectomes (Reisert et al., 2011) that intersect with a region of interest (ROI) (in our case, the VTA). The exact same process is possible using patient-specific streamlines but is not demonstrated here.

To estimate the VTA, we use the simplified method proposed by Dembek et al., 2017, which defines the radius of a sphere based on stimulation amplitude and pulse width. Varying values from 0.5 to 1.0 were set for the constant k2 in their formula (see Dembek et al., supplementary material, for the explanation of the parameter). In our present example, a value of  0.8 seemed to yield results that matched the recorded EMG data. Currently, this part of this article should be seen as exploratory as an example of feasibility. Data to validate the approach on a larger number of patients beyond the present case was lacking. Further studies are needed to titrate the k2 value on a group level and validate the stimulation module of Lead-OR in general.

Patient cohort and surgical procedure

Up to this point, we described the live setup of Lead-OR. We aimed to evaluate the accuracy of this setup by comparing imaging- and electrophysiology-derived markers on a group level. To do so, we retrospectively gathered data from patients who underwent DBS and processed it in a similar fashion as the real-time application. 52 patients (12 females; mean age =61±9) were retrieved from cases undergoing STN-DBS surgery at Charité – Universitätsmedizin Berlin between 07/2017 and 10/2021. Inclusion was based on having homogeneous data acquisitions consistent with current surgical procedure (i.e., Brainlab planning exports together with corresponding imaging acquisitions and complete microelectrode recording information). Supplementary file 1 summarizes the inclusion process in the form of a flow chart.

Patients underwent bilateral DBS surgery targeting the STN. Surgery was either performed awake or under general anesthesia. In case of the latter, the depth of narcosis was reduced before MERs to reduce potential effects of anesthetic drugs.

The NeuroOmega System (Alpha Omega Engineering) was used with 2–5 microelectrodes in orthogonal (0°) or rotated (45°) Ben-Gun configuration to acquire MERs. Recordings were carried out from 10 mm above to 4 mm below the target with step sizes between 0.2 mm and 0.5 mm (with some exceptions common to clinical practice). Then, microelectrodes were removed and test stimulations were applied at multiple heights above the target via macroelectrodes on central and alternate trajectories. Neuroprobe Sonus non-shielded microelectrodes (Alpha Omega Engineering) were used as micro-/macroelectrodes. Stimulations were done at increasing amplitude steps of 0.5 mA until identifying permanent side effects. Additionally, therapeutic stimulation effects were evaluated when the surgery was performed in the awake state. Patients who underwent general anesthesia received additional EMG using needle electrodes to evaluate motor unit activity of eight muscles as indicator for the activation of corticobulbar and corticospinal tracts. Finally, based on imaging, electrophysiological, and clinical findings, the surgical team decided upon the optimal depth and trajectory for permanent electrode implantation.

Of the 52 patients included in this study, 4 were discarded based on poor imaging quality and 16 based on poor electrophysiology signals (both determined by visual inspection). Additionally, taking the same considerations, four left and four right hemispheres were also discarded based on a low quality of electrophysiology data. MERs were saved as segments for each distance to the target value. Segments were discarded if they were contaminated by artifacts or when their recording length was less than 4 s. With these considerations, we analyzed a final cohort of 32 patients (56 hemispheres) with a total of 236 trajectories.

Imaging and electrophysiology processing

Pre- and postoperative imaging data were co-registered and normalized using Lead-DBS (Horn et al., 2019) followed by visual inspection and, if necessary, refinement using WarpDrive. The definitions of the central trajectories were extracted from stereotactic planning reports and the Ben-Gun configuration from recordings files. We computed the NRMS of all trajectories and resampled them on a linear space with 0.1 mm distance to target resolution. Spike clusters were computed as described above. As mentioned earlier, if more than one cluster was detected in a segment and satisfied the stated conditions, this was still considered an SUA (and represented as one cluster in further analysis).

Using the Lead-DBS pipeline, we carried out brain shift correction using postoperative CT data (Horn et al., 2019). This allowed us to quantify the degree of brain shift occurring after surgery based on imaging-derived metrics. For each trajectory, each recording position was displaced using the brain shift correction transform. We took the median of displacements as the amount of brain shift for each trajectory. We will refer to this measure as the imaging-based brain shift estimate in this article (note that it is derived from pre- and postoperative imaging data).

The most recently available clinical stimulation settings were retrieved from all 32 patients (visits ranging from 3 to 44 months after surgery). We reconstructed DBS electrodes based on the standard Lead-DBS pipeline and denoted the coordinate of the active contact (in case of multiple active contacts, their locations were averaged). For a qualitative analysis, we projected this coordinate to the nearest point along the closest trajectory for each electrode.

Each recording segment had its own patient-specific distance to target measure. In order to carry out group analyses, we defined a normalized distance to target. With the nonlinear deformation displacement fields, a link between the location of the trajectory and the ICBM 2009b NLIN ASYM (Fonov et al., 2009) (‘MNI’) space was established. We then took a reference point in each trajectory computed as the nearest point to the STN target coordinates in MNI space from Caire et al., 2013. The normalized distance to the target was defined by aligning the references of all trajectories. The alignment was done by displacing each trajectory by its reference position minus the average displacement from all trajectories (Figure 5—source code 1). Furthermore, by using the warp to MNI space we were able to compute the trajectory’s distance to the STN and the STN entry and exit sites (henceforth referred to as imaging-defined STN boundaries). To do this, we used the STN as defined by the DISTAL atlas. The main hypothesis from the group analysis was that electrophysiological recordings acquired from within the imaging-defined STN would show higher activity than the ones recorded outside of the STN.

All spike clusters were mapped to the left hemisphere of the MNI space (right hemisphere coordinates were nonlinearly flipped). Then, we created an image of 0.22 mm isotropic resolution where each voxel represented the number of clusters detected divided by the number of segment recordings within 1 mm of the voxel’s center. This resulted in a cluster density volume in MNI space (Figure 5—source code 1; Figure 5—source data 2).

Additionally, NRMS values and STN distances for each trajectory were transformed with the inverse tangent function resulting in similar distributions of the two. Subsequent cross-correlation of these two signals along each trajectory resulted in a maximum cross-correlation value and the lag (displacement) at which this maximum occurred (Figure 5—source code 2).

In the next step, we sorted the trajectories according to their maximum cross-correlation and split the data in half, retaining the trajectories that were in close proximity to the STN and showed electrophysiological activity. We then sorted the top half according to the lag at which the maximum cross-correlation occurred (Figure 5—source code 2). We will refer to this lag as the electrophysiology-based brain shift estimate (note that it is derived from preoperative imaging and intraoperative electrophysiology). Hence, in contrast to the imaging-derived brain shift estimate (which required postoperative imaging), this one could be computed during surgery. The electrophysiology-based brain shift measures were compared to the imaging-based brain shift estimates in two ways: first, we contrasted imaging-based brain shift estimates between the low versus high-lag groups using Wilcoxon’s signed-rank test. The high-lag group was defined by taking trajectories with lag values above 1 standard deviation of the lags. The low-lag group is composed of the same number of trajectories taken from the data sorted according to the lag. This would analyze whether cases with high electrophysiology-derived estimates indeed had more brain shift based on the imaging-based estimate. Second, we correlated values from the high-lag trajectories (where significant brain shift was estimated based on electrophysiology) with the imaging-derived estimate of brain shift. This would analyze whether the degree of brain shift would correlate between electrophysiology- and imaging-derived estimates.

Results

The main result of this work consists of an integrated software framework that links electrophysiological with imaging-derived data within the same patient-specific coordinate space during surgery. Figure 4 shows the software output for a single-case example including different forms of visualization and an exemplary match between DBS imaging and electrophysiology. Furthermore, Figure 4—figure supplement 1 shows the application of the tool in a ventral intermediate nucleus (VIM) and GPi example. Finally, for illustrative purposes, we included additionally three STN cases with unusual anatomical configurations in Figure 4—figure supplement 2. Figure 4—video 1 shows the live application of the tool in action, and Figure 4—video 2 shows the user interface and how the platform is setup.

Figure 4. Example case showing trajectories, microelectrode recording (MER) features, and DISTAL atlas volumes mapped to patient space.

10 s recording snippets from one trajectory are displayed. Normalized root mean square (NRMS) activity is represented by a tube with varying diameter and color matching the value. Spike clusters are represented by red point fiducials. GPe: external segment of the globus pallidus; GPi: internal segment of the globus pallidus; STN: subthalamic nucleus; RN: red nucleus.

Figure 4—source data 1. Slicer scene containing the spatial data shown in the Figure 4.

Figure 4.

Figure 4—figure supplement 1. Additional ventral intermediate nucleus (VIM) and internal segment of the globus pallidus (GPi) cases.

Figure 4—figure supplement 1.

Additional VIM and GPi cases are shown in top and bottom panels, respectively. The figure shows 10 s electrophysiology extracts together to their normalized root mean squared value mapped to space using Lead-OR. DISTAL atlas nuclei were warped to patient space. GPe: external segment of the globus pallidus; STN: subthalamic nucleus; RN: red nucleus.

Figure 4—figure supplement 2. Additional example cases of subthalamic nucleus-deep brain stimulation (STN-DBS) Lead-OR visualizations.

Figure 4—figure supplement 2.

Example cases of STN-DBS showing preoperative MRIs in synopsis with resulting Lead-OR visualizations. The three cases feature unusual anatomical configurations with comparably narrow skull (top), asymmetric hemispheres and STN (middle), and comparably broad skull (bottom). The atlas-based segmentation using Lead-DBS following WarpDrive refinement was able to capture individual patient anatomy in all cases. GPe: external segment of the globus pallidus; GPi: internal segment of the globus pallidus; RN: red nucleus.

Figure 4—video 1. General overview of the Lead-OR real-time application.

Download video file (16.4MB, mp4)
The video shows patient-specific imaging together with atlases, the BigBrain template (Amunts et al., 2013), planned microelectrode trajectories, microelectrode recordings (MERs) and feature extraction, and a test stimulation example.

Figure 4—video 2. Video showing the program user interface and its use.

Download video file (11.8MB, mp4)
Includes exemplary connection to the hardware device, channel selection for recording, configuration of trajectories, input planning, stimulation setup, and visualization and processing of live data streaming into the software.

Figure 5 shows the 236 trajectories retrospectively gathered from 32 patients, arranged from left to right based on their distance to the STN and vertically aligned with the normalized distance to target. Electrophysiology traces were plotted with STN entry and exit markers derived from imaging. Comparing the NRMS from the bottom 20% (outside of the STN) to the top 20% revealed an anatomical region with significant differences (p<0.01) within the imaging-defined STN boundaries (defined as the median of the top 20% STN boundaries). In other words, the recorded activity from inside this part of the STN was significantly higher than the ones recorded outside of it. Data were compared using nonparametric Wilcoxon’s signed-rank test and multiple comparisons were corrected using false discovery rate (FDR) (Benjamini et al., 2006).

Figure 5. Retrospective group analysis investigating agreement between imaging- and electrophysiology-defined subthalamic nucleus (STN).

In (A) and (C), each trajectory is presented as a column, showing normalized root mean square activity (NRMS) and spike clusters, respectively, with the normalized distance to target denoted on vertical axes. Trajectories are sorted from left to right according to their distance to the STN as defined in the DISTAL atlas (Ewert et al., 2018). Dark green values (indicating NRMS of zero) represent no recordings at these sites. Black dashes represent STN entry and exit, and the dashed white line the median entry and exit for the top 20%. (B) shows comparisons between bottom and top trajectories, with the gray area representing a significant band (nonparametric Wilcoxon’s signed-rank test p<0.01 with false discovery rate [FDR] correction), which resides within the STN. The plots show median, 0.25 and 0.75 quantiles. (D) shows the overall distribution of spike clusters. (E) shows isosurfaces of a volume where each voxel contains the number of clusters detected divided by the number of recordings carried out within 1 mm distance to the location (cluster density). The legend shows the percentage of the volume overlap with the STN at different thresholds. The 7 T MRI ex vivo human brain template (Edlow et al., 2019) is shown as the background image with DISTAL STN outline. Decreasing values on the z-axis traverse from superior to inferior.

Figure 5—source code 1. Uses Figure 5—source data 1 to generate Figure 5—source data 2 and panels A–D.
Figure 5—source code 2. Uses Figure 5—source data 1 to generate Figure 5—figure supplement 1.
Figure 5—source data 1. Trajectories data including normalized root mean square (NRMS) traces, subthalamic nucleus (STN) entry-exit positions, spike clusters, brain shift, and distance to STN values.
Figure 5—source data 2. Cluster density volume shown in Figure 5E.

Figure 5.

Figure 5—figure supplement 1. Brain shift study.

Figure 5—figure supplement 1.

Staring from Figure 5A, this figure shows the analysis done to derive the relationship between imaging-based and electrophysiology-based brain shift. Brain shift analysis. (A) shows the same trajectory traces as in Figure 5A. For each of the trajectories, the cross-correlation sequence was computed between the normalized root mean square (NRMS) and distance to subthalamic nucleus (STN) values along the trajectory (Figure 5—source code 2). (B) displays the trajectories sorted according to the peak value of the cross-correlation sequence (color bars between A and B visualize this sorting). After discarding the bottom half trajectories (trajectories distant to the STN with low NRMS values), the remaining ones were sorted once more, this time according to their lag (or displacement) at which the maximum occurred (C). This measure quantifies the shift between signals and served as an electrophysiology-derived estimate of brain shift. (D) shows agreements between electrophysiology- and imaging-derived measures of brain shift. Contrasting imaging-derived brain shift estimates between low- versus high-lag (value above 1 SD) groups showed significant difference in their distributions (Wilcoxon’s signed-rank test p=0.0076). (E) shows the correlation between electrophysiology- and imaging-derived estimates of brain shift (R= 0.40, p=0.016).

Figure 5—figure supplement 2. Example case in which the imaging-derived brain shift transform was applied to the Lead-OR scene, post-hoc.

Figure 5—figure supplement 2.

The top panels feature the actual scene as observed during surgery, in which a slight displacement between imaging (too dorsal) and electrophysiology (too ventral) is apparent. By correcting for brain shift based on postoperative CT, this discrepancy could be accounted for.

Figure 5—figure supplement 3. Active contact coordinates overlayed with Figure 5A and E.

Figure 5—figure supplement 3.

(A) and (C) show normalized root mean square (NRMS) and cluster density results as in Figure 5A and E, respectively. This figure additionally includes clinically active contact locations overlayed. (A) shows NRMS traces for the 236 trajectories analyzed in this study and clinical active coordinates projected to the nearest point in the closest trajectory. (B) shows the locations of the active contacts in MNI space (left hemisphere) together with the subthalamic nucleus (STN) from DISTAL atlas. Right hemispheric electrode contacts were flipped to the left. (C) shows isosurfaces of the cluster density volume (i.e., number of spike clusters divided by number of trajectories within 1 mm radius for each voxel) and the active coordinate location. Slices from the 7 T MRI ex vivo human brain template (Edlow et al., 2019) are shown as the background image with DISTAL STN outline. A general correspondence can be seen between active contact location and features extracted from the microelectrode recordings.

The cluster density volume in MNI space also showed a general agreement with the imaging-derived STN: when thresholding the volume based on increasing density values, the overlap with the STN region was higher (95% overlap at a 50% cluster density threshold; Figure 5).

With respect to the brain shift analysis, the low-lag and high-lag groups showed a significantly different brain shift distribution (Wilcoxon’s signed-rank test p=0.0076). Also, correlating the high-lag values (electrophysiology-derived brain shift estimate) with their imaging-derived brain shift estimates showed a significant association (R= 0.40, p=0.016; Figure 5—figure supplement 1). Figure 5—figure supplement 2 shows an example case illustrating how the imaging-based brain shift-corrected Lead-OR scene presents better correspondence between imaging and MER.

In Figure 5—figure supplement 3, we show clinical active contact coordinates with respect to the results of the group analysis as shown in Figure 5. Most of the coordinates rely inside the STN and coincide with high-activity regions as depicted by the microelectrode recordings.

Figure 6 shows an example case using the test stimulation setup with live volume activation tractography and corresponding EMG activity invasively recorded during surgical routine using a needle electrode inserted into the brachioradialis muscle. We also refer to Figure 4—video 1 for a demonstration of the real-time application of this module.

Figure 6. Example of test stimulation setup (also see Figure 4—video 1 for the demonstration of a real-time application).

Figure 6.

A simplified stimulation volume is modeled based on the applied test stimulation parameters following the approach of Dembek et al., 2017. From a set of predefined fiber tracts representing the internal capsule (without hyperdirect components; Petersen et al., 2019) that were registered to patient space, fibers passing through the volume were visualized in real time. Alternatively, tractograms obtained based on diffusion MRI of the individual patient data or normative connectomes could be used. The top panel shows needle electromyography (EMG) activity that was recorded within clinical routine from the brachioradialis muscle during stimulation in the same patient. Colors represent stimulation amplitude. After a preliminary exploratory analysis of the k2 parameter from Dembek’s formula, a value of 0.8 was used for the shown example.

Figure 6—source data 1. Slicer scene containing the spatial data shown in the Figure 6.

Discussion

Multiple take-home points can be drawn from this study. First, we established a software pipeline to integrate imaging and electrophysiology results within an interactive real-time application during DBS surgery. The setup interacts with commercial tools for surgical planning and MERs and has the capability to visualize and analyze data in various forms. In the presented group study, the data acquisition conditions were not controlled for, given their retrospective nature. However, the platform can generalize to alternate settings. For example, the number of trajectories used can be set from 1 to 5, without compromising its execution. With respect to hardware settings, while currently a fixed set of interfaces to commercial tools is available, the open-source nature of the software will allow integration of links to other devices. Furthermore, although we present the tool and analysis made with STN cases, it could also be applied to other DBS targets. As illustrative examples, we refer to Figure 4—figure supplement 1 to see Lead-OR visualizations for a VIM and GPi case. Second, atlas data from ultra-high-resolution resources may be integrated into the tool. For instance, whole-brain histological atlases, such as the BigBrain dataset (Amunts et al., 2013) or stereotactic 3D atlases, such as the DISTAL (Ewert et al., 2018) or Human Thalamus Atlas (Ilinsky et al., 2018) could be integrated. In a way, these atlases would fill the gap of commonly used histological reference atlases available in book format, such as the Schaltenbrandt-Wahren (Schaltenbrand et al., 1977) or Talairach atlases (Rey et al., 1988). While these book resources have been and still are invaluable to the field, they lack the possibility to be deformed into native patient space and to be digitally represented in direct synopsis with patient imaging and electrophysiology. Instead, whole-brain resources will grow in number, resolution, and quality in the foreseeable future (Horn, 2019; Krauss et al., 2021; Sui et al., 2020; Vedam-Mai et al., 2021). Similarly to anatomical atlas resources, optimal target definitions (‘sweet spots’) or even connectomic/tract-based target definitions could one day be integrated to guide DBS surgery – after proper and prospective validation of such datasets and applied methods (Dembek et al., 2019; Boutet et al., 2021; Elias et al., 2021). On the hardware side, other possible integrations to the platform in the future include the use of intraoperative imaging such as CT or X-ray acquired for final verification of electrode placement. Data from these acquisitions could potentially be integrated to further enhance visualizations provided by Lead-OR.

The tools, methods, and software described here are not approved by any regulatory authorities and are not intended to assist in making clinical decisions. Rather, we present them for use for purely research-driven purposes under proper IRB approval in study contexts. The tool should be seen as a data visualization tool that could potentially save researchers time by showing data from multiple sources in direct synopsis to one another. As such, it may be powerful to further explore the interplay between electrophysiology and imaging, validate biophysical models, and better characterize patient-specific data.

We see special value in integrating MER-derived measures to the anatomical realm and in the integration with imaging findings. Our aim was to produce a set of use cases each of which could open larger windows of opportunities for upcoming studies. For instance, we included two MER processing pipelines in this study, which have previously been studied in different publications (Koirala et al., 2020; Boëx et al., 2018; Zaidel et al., 2009). The reason for their adoption was mostly demonstrative, and we do not claim for them to be the best/only choices when it comes to studying STN activity. Future work involves analyzing differences in these and similar processing pipelines to derive a better understanding of MER physiology. Given the open-source nature of this project, it will be feasible to extend usability and incorporate complementary approaches. Lead-OR should be seen as a satellite application to existing intraoperative electrophysiology software tools, not an attempt to replace them. The aim of our application is to augment these existing tools by a projection of recorded signals to anatomical space. It is intended to run in parallel to existing software (either on a secondary machine or on the same computer). Hence, thorough inspection and analysis of electrophysiological signals will remain unchanged for users of existing software, while our tool could hopefully add additional insights into the anatomical origins of recorded signals.

In a similar vein, we see larger potential in the field of activation tractography by studying stimulation spread across brain tissue with biophysical models that could range around varying degrees of complexity (Butenko et al., 2020; Gunalan et al., 2017; Howell et al., 2019; Noecker et al., 2021). Differences in connectomes (Horn and Blankenburg, 2016) vs. pathway atlases (Petersen et al., 2019; Alho et al., 2019; Middlebrooks et al., 2020) vs. individual tractography (Akram et al., 2017) acquired in the specific patient could be investigated directly within the operation theater. We foresee that such studies could lead to a better understanding of the mechanism of action of DBS. This study for now showcases this application of visualizing test stimulations in limited and anecdotical form (also see Figure 4—video 1), warranting further investigation and validation.

Finally, we see large potential in the use and further aggregation of ultra-high-resolution atlas data. Already, such datasets have been emerging and incorporated into DBS applications (Edlow et al., 2019; Horn et al., 2017). However, we foresee additional datasets that may revolutionize our definition of anatomy and brain connectivity in the future. For instance, the Jülich group has announced an upcoming version of the BigBrain dataset (Figure 7, Figure 4—video 1) that will be available in 1 µm resolution (Horn, 2021). A recent normative diffusion-MRI connectome available in 760 µm resolution was based on a 9-hr-long scan of a living human brain (Wang et al., 2021). Similarly, a structural brain template of the human brain available in 100 µm resolution was acquired by scanning a postmortem brain over 100 hr at 7T (Figure 7; Edlow et al., 2019). A recently published pathway atlas of the basal ganglia used expert knowledge and insights from animal studies to create the most realistic set of subcortical fibers available to date (Petersen et al., 2019). Similar applications involve histological mesh tractography – a novel technique to create accurate tract representations based on histological data (Alho et al., 2021) or expert-curated sets of fiber bundles created by tractography on diffusion MRI data from 1000 subjects (Middlebrooks et al., 2020). We foresee great use of such resources if the process of registering them to patient space is truly accurate. The WarpDrive method presented here could embody a missing link in the evolution of making co-registration methodology as precise as possible – with specific focus on regions of particular interest (such as the DBS target zone in our application). For instance, if our aim was to overlay the BigBrain atlas to support our anatomical knowledge within and around the STN, it is of crucial importance that the registration between atlas and patient imaging of the STN area is meticulously precise. Instead, registration accuracy of, for example, the parietal lobe will be of lesser importance in this particular scenario. WarpDrive gives the user the necessary toolkit to realize highly precise warps, while focusing on specific ROIs (Figure 7, Figure 2—video 1).

Figure 7. BigBrain (Amunts et al., 2013; Xiao et al., 2019) (left) and 7 T MRI ex vivo human brain template (Edlow et al., 2019) (right) are two high-resolution (100 µm isotropic) imaging resources that can be used from Lead-DBS and Lead-OR.

Figure 7.

The middle panel shows a closeup in a plane using the original transformation to MNI space (Xiao et al. in the case of BigBrain) with white outlines of DISTAL atlas (Ewert et al., 2018) (left) and anterior commissure from Neudorfer et al., 2020 (right). The bottom panel shows the same slice, but using a refined transformation using Lead-DBS and WarpDrive. The refined transformation files can be found in the supplementary data repository (Oxenford, 2022a).

Our results demonstrate general agreement between imaging and electrophysiology data on a group level. The recordings throughout the trajectories present a region with higher activity coinciding with the imaging-based STN. However, as can be seen in Figure 5, the agreement is not 100%. Namely, we can observe the presence of activity and high neuronal density in some locations outside of our image-derived model of the STN and vice versa (we observe no activity within voxels that form part of the STN). This emphasizes the possibility of a lack of congruence between preoperative imaging and intraoperative electrophysiological delineation of the STN. Some of these discrepancies could be explained physiologically, for example, seeing activity from regions other than the STN (i.e., thalamic recordings that may be encountered dorsal to the STN or recordings from substantia nigra ventrally). However, true mismatch of the two sources of information (imaging and electrophysiology) in some cases is indeed something we would expect. Namely, we should not forget that the tool is entirely designed to facilitate integration and visualization of different sources of information in parallel. If both would perfectly agree in each single case, there would be no need to acquire MER data in the first place. In our brain shift analysis, we could demonstrate that some of these discrepancies are associated with the occurrence of brain shift. This presented analysis could be considered a first of its kind attempt to infer brain shift during surgery using a combination of preoperative MRI and intraoperative MER. Specifically, the cross-correlation-derived features may be used as indicators (provided by the program) to quantify discrepancies between MER and imaging data in a real-time setting. This analysis can be further elaborated upon and integrated into future iterations of the platform.

Limitations

Other explanations for disagreement between imaging and electrophysiological data will directly inform limitations that apply to this study. The occurrence of brain shift could be seen as a limitation but also as a feature of our approach (see above). However, true limitations may arise from imprecisions of the imaging pipeline itself. Although a dedicated multispectral imaging pipeline was applied (in the form of Lead-DBS software), which has shown to create meaningful models of DBS in various studies, there will always be a certain degree of imprecision that is unavoidable when using imaging to segment subcortical nuclei. Here, we aimed to further minimize this imprecision by introducing the WarpDrive tool. However, a downside of this tool could be seen in the fact that it involves manual and observer-dependent steps. Detailed anatomical knowledge and optimal imaging quality are needed to achieve maximal registration accuracy. Ideally, multispectral sets of preoperative images that include specialized sequences optimized for the basal ganglia should be used (Krauss et al., 2021). Use of ultra-high-field (i.e., 7T) imaging could represent a useful alternative (Forstmann et al., 2017), but in this case danger could arise from increased distortion artifacts exactly and especially in the center of the brain (Neumann et al., 2015). Hence, as in the procedure of DBS surgery itself, optimal imaging data quality and meticulous use of tools, as well as optimal levels of methodological insights, are needed to assure safe and successful applications.

Finally, the MER analysis also comes with limitations. First, as the data was collected in retrospective fashion, durations of recordings and distances in recording steps when advancing towards the target were not exactly consistent throughout the whole dataset. Second, cardioballistic artifacts, as well as gradual displacement of brain tissue leading to attenuation of spike amplitudes, are recognized problems when applying spike-sorting algorithms in general. Moreover, anesthesia and wakefulness of patients have an impact on the recordable neurophysiological activity patterns and should be considered when making assumptions about the relationship between neuroanatomy and neurophysiology. While here patients were awake in general, this followed periods of anesthesia (following the clinical protocol established at our center). This leads to a nonuniform quality of the recordings that may then present challenges in their interpretation and processing via automatic algorithms. However, we operate in an experienced high-volume DBS center where surgical decisions are made based on the data used here. In other words, signal quality was sufficient for expert-based decision-making. In the future, additional automatic EEG and EMG activity analysis could further augment the validity of the approach. In general, however, the main aim of this article was to demonstrate the use and feasibility of the tool, while dedicated analyses investigating specific neuroscientific questions should take aforementioned nuances into consideration further.

Conclusion

We presented a method and open-source software tool to visualize results derived from MERs in anatomical space, together with information derived from patient-specific MRI data, as well as high-resolution atlas resources during DBS surgery. We demonstrated general agreement between imaging and electrophysiology-derived measures, as well as examples of unavoidable discrepancy between the two modalities. The tool has potential to empower scientific studies investigating several topics outlined in our discussion, as well as high potential for clinical translation and represents a first step to help integrate information across sources within two- and three-dimensional visualization scenes. While the software is not certified and intended for scientific use under IRB approval only, subsequent steps will involve improving and extending the different components of the software to achieve a reliable multimodal patient-specific navigator capable of assisting clinical decision-making.

Data availability

All processed data and code needed to reproduce the main findings of the study are made openly available in deidentified form (see figure legends). This can be found in https://github.com/simonoxen/Lead-OR_Supplementary, (copy archived at swh:1:rev:c7b8661f0587db992e7eba978d61da8cd7cdc88b; Oxenford, 2022a) and attached to the publication. Due to data privacy regulations of patient data, raw data cannot be publicly shared. Upon reasonable request to the corresponding author, data can be made available after setting up a data-sharing agreement between our host institution (Charité – Universitätsmedizin Berlin) and the inquiring party. All codes used to analyze the dataset are available within Lead-DBS/-OR software (https://github.com/netstim/leaddbs [Network Stimulation Laboratory, 2022]; https://github.com/netstim/SlicerNetstim [Oxenford, 2022b]).

Acknowledgements

We thank Alaa Hanna from Alpha Omega Engineering for methodological support in interfacing with the NeuroOmega SDK. While the present software implementation works with two commercial products for surgical planning and the intraoperative procedure, the choices of these systems were arbitrary (defined by what was present at our center) and do not mean any form of endorsement whatsoever. No industry funding was received to carry out this study. Part of this study was presented and worked on during the 35th NA-MIC Project Week (Kapur et al., 2016). We would like to thank the NA-MIC community, especially Dr. Andras Lasso and Dr. Steve Pieper for the help and discussions on 3D Slicer modules implementation. AH was supported by the German Research Foundation (Deutsche Forschungsgemeinschaft, Emmy Noether Stipend 410169619 and 424778381 – TRR 295), Deutsches Zentrum für Luft- und Raumfahrt (DynaSti grant within the EU Joint Programme Neurodegenerative Disease Research, JPND), the National Institutes of Health (2R01 MH113929), as well as the Foundation for OCD Research (FFOR). AH is participant in the BIH-Charité Clinician Scientist Program funded by the Charité – Universitätsmedizin Berlin and the Berlin Institute of Health. WJN was supported by Bundesministerium für Bildung und Forschung (BMBF) (Project iDBS FKZ01GQ1802), Deutsche Forschungsgemeinschaft (DFG) (Project ID 424778371 – TRR 295), Hertie Foundation (Project BGPlasticity), and Berlin Institute of Health (Project SPOKES).

Funding Statement

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Contributor Information

Simón Oxenford, Email: simon.oxenford@charite.de.

Lars Timmermann, University Hospital of Gießen and Marburg, Germany.

Christian Büchel, University Medical Center Hamburg-Eppendorf, Germany.

Funding Information

This paper was supported by the following grants:

  • Deutsche Forschungsgemeinschaft Emmy Noether Stipend 410169619 to Andreas Horn.

  • Deutsche Forschungsgemeinschaft Project ID 424778371 to Andreas Horn, Wolf-Julian Neumann.

  • Bundesministerium für Bildung und Forschung Project iDBS FKZ01GQ1802 to Wolf-Julian Neumann.

  • Deutsches Zentrum für Luft- und Raumfahrt DynaSti grant within the EU Joint Programme Neurodegenerative Disease Research JPND to Andreas Horn.

  • National Institutes of Health 2R01 MH113929 to Andreas Horn.

Additional information

Competing interests

No competing interests declared.

No competing interests declared.

Reports personal fees from Medtronic, Boston Scientific, Abbott, Teva, Ipsen and Stadapharm, all outside the submitted work.

Reports lecture fee for Boston Scientific outside the submitted work.

Author contributions

Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review and editing.

Conceptualization, Data curation, Formal analysis, Methodology, Writing – original draft, Writing – review and editing.

Conceptualization, Investigation, Methodology, Writing – review and editing.

Conceptualization, Formal analysis, Methodology, Writing – review and editing.

Methodology, Writing – review and editing.

Data curation, Methodology, Writing – review and editing.

Supervision, Writing – review and editing.

Supervision, Writing – review and editing.

Supervision, Writing – review and editing.

Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Software, Supervision, Visualization, Writing – original draft, Writing – review and editing.

Ethics

The collection and analysis of all patient data used for this article was approved by the Local Ethics committee of Charité - Universitätsmedizin Berlin (master vote EA2/145/21). All data were analyzed retrospectively and obtained in deidentified from Medical Records of Charité. Hence, following local guidelines in Berlin/Brandenburg as well as NIH guidelines for human subjects research, no explicit patient consent to analyze and publish was obtained/necessary.

Additional files

Transparent reporting form
Supplementary file 1. Inclusion flow chart.
elife-72929-supp1.pdf (26.5KB, pdf)
Reporting standard 1. STROBE checklist.

Data availability

All processed data and code needed to reproducemain findings of the study aremade openly available in de-identified form (see figure legends). This can be found in https://github.com/simonoxen/Lead-OR_Supplementary (copy archived at swh:1:rev:c7b8661f0587db992e7eba978d61da8cd7cdc88b). Due to data privacy regulations of patient data, raw data cannot be publicly shared. Upon reasonable request to the corresponding author, data can be made available after setting up a data sharing agreement between our host institution (Charité - Universitätsmedizin Berlin) and the inquiring party. All code used to analyze the dataset is available within Lead-DBS /-OR software (https://github.com/netstim/leaddbs; https://github.com/netstim/SlicerNetstim(copy archived at swh:1:rev:2439c1e117af9027802ba48b67530a0af189c6fe)).

References

  1. Akram H, Sotiropoulos SN, Jbabdi S, Georgiev D, Mahlknecht P, Hyam J, Foltynie T, Limousin P, De Vita E, Jahanshahi M, Hariz M, Ashburner J, Behrens T, Zrinzo L. Subthalamic deep brain stimulation sweet spots and hyperdirect cortical connectivity in Parkinson’s disease. NeuroImage. 2017;158:332–345. doi: 10.1016/j.neuroimage.2017.07.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Al-Fatly B, Ewert S, Kübler D, Kroneberg D, Horn A, Kühn AA. Connectivity profile of thalamic deep brain stimulation to effectively treat essential tremor. Brain: A Journal of Neurology. 2019;142:3086–3098. doi: 10.1093/brain/awz236. [DOI] [PubMed] [Google Scholar]
  3. Alho E, Alho A, Horn A, Martin M, Edlow BL, Fischl B, Nagy J, Fonoff ET, Hamani C, Heinsen H. The Ansa Subthalamica: A Neglected Fiber Tract. Movement Disorders. 2019;35:75–80. doi: 10.1002/mds.27901. [DOI] [PubMed] [Google Scholar]
  4. Alho E, Fonoff ET, Di Lorenzo Alho AT, Nagy J, Heinsen H. Use of computational fluid dynamics for 3D fiber tract visualization on human high-thickness histological slices: histological mesh tractography. Brain Structure and Function. 2021;226:323–333. doi: 10.1007/s00429-020-02187-3. [DOI] [PubMed] [Google Scholar]
  5. Amunts K, Lepage C, Borgeat L, Mohlberg H, Dickscheid T, Rousseau ME, Bludau S, Bazin PL, Lewis LB, Oros-Peusquens AM, Shah NJ, Lippert T, Zilles K, Evans AC. BigBrain: An Ultrahigh-Resolution 3D Human Brain Model. Science (New York, N.Y.) 2013;340:1472–1475. doi: 10.1126/science.1235381. [DOI] [PubMed] [Google Scholar]
  6. Avants BB, Epstein CL, Grossman M, Gee JC. Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Medical Image Analysis. 2008;12:26–41. doi: 10.1016/j.media.2007.06.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Aviles-Olmos I, Kefalopoulou Z, Tripoliti E, Candelario J, Akram H, Martinez-Torres I, Jahanshahi M, Foltynie T, Hariz M, Zrinzo L, Limousin P. Long-term outcome of subthalamic nucleus deep brain stimulation for Parkinson’s disease using an MRI-guided and MRI-verified approach. Journal of Neurology, Neurosurgery, and Psychiatry. 2014;85:1419–1425. doi: 10.1136/jnnp-2013-306907. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Benazzouz A, Breit S, Koudsie A, Pollak P, Krack P, Benabid AL. Intraoperative microrecordings of the subthalamic nucleus in Parkinson’s disease. Movement Disorders. 2002;17 Suppl 3:S145–S149. doi: 10.1002/mds.10156. [DOI] [PubMed] [Google Scholar]
  9. Benjamini Y, Krieger AM, Yekutieli D. Adaptive linear step-up procedures that control the false discovery rate. Biometrika. 2006;93:491–507. doi: 10.1093/biomet/93.3.491. [DOI] [Google Scholar]
  10. Boëx C, Tyrand R, Horvath J, Fleury V, Sadri S, Corniola M, Burkhard PR, Momjian S. What Is the Best Electrophysiologic Marker of the Outcome of Subthalamic Nucleus Stimulation in Parkinson Disease? World Neurosurgery. 2018;120:e1217–e1224. doi: 10.1016/j.wneu.2018.09.047. [DOI] [PubMed] [Google Scholar]
  11. Boutet A, Germann J, Gwun D, Loh A, Elias GJB, Neudorfer C, Paff M, Horn A, Kuhn AA, Munhoz RP, Kalia SK, Hodaie M, Kucharczyk W, Fasano A, Lozano AM. Sign-specific stimulation “hot” and “cold” spots in Parkinson’s disease validated with machine learning. Brain Communications. 2021;3:fcab027. doi: 10.1093/braincomms/fcab027. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Butenko K, Bahls C, Schröder M, Köhling R, van Rienen U. OSS-DBS: Open-source simulation platform for deep brain stimulation with a comprehensive automated modeling. PLOS Computational Biology. 2020;16:e1008023. doi: 10.1371/journal.pcbi.1008023. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Caire F, Ranoux D, Guehl D, Burbaud P, Cuny E. A systematic review of studies on anatomical position of electrode contacts used for chronic subthalamic stimulation in Parkinson’s disease. Acta Neurochirurgica. 2013;155:1647–1654. doi: 10.1007/s00701-013-1782-1. [DOI] [PubMed] [Google Scholar]
  14. Chaure FJ, Rey HG, Quian Quiroga R. A novel and fully automatic spike-sorting implementation with variable number of features. Journal of Neurophysiology. 2018;120:1859–1871. doi: 10.1152/jn.00339.2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Dembek TA, Barbe MT, Åström M, Hoevels M, Visser-Vandewalle V, Fink GR, Timmermann L. Probabilistic mapping of deep brain stimulation effects in essential tremor. NeuroImage. Clinical. 2017;13:164–173. doi: 10.1016/j.nicl.2016.11.019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Dembek TA, Roediger J, Horn A, Reker P, Oehrn C, Dafsari HS, Li N, Kühn AA, Fink GR, Visser-Vandewalle V, Barbe MT, Timmermann L. Probabilistic sweet spots predict motor outcome for deep brain stimulation in Parkinson disease. Annals of Neurology. 2019;86:527–538. doi: 10.1002/ana.25567. [DOI] [PubMed] [Google Scholar]
  17. Edlow BL, Mareyam A, Horn A, Polimeni JR, Witzel T, Tisdall MD, Augustinack JC, Stockmann JP, Diamond BR, Stevens A, Tirrell LS, Folkerth RD, Wald LL, Fischl B, van der Kouwe A. 7 Tesla MRI of the ex vivo human brain at 100 micron resolution. Scientific Data. 2019;6:244. doi: 10.1038/s41597-019-0254-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Elias GJB, Boutet A, Joel SE, Germann J, Gwun D, Neudorfer C, Gramer RM, Algarni M, Paramanandam V, Prasad S, Beyn ME, Horn A, Madhavan R, Ranjan M, Lozano CS, Kühn AA, Ashe J, Kucharczyk W, Munhoz RP, Giacobbe P, Kennedy SH, Woodside DB, Kalia SK, Fasano A, Hodaie M, Lozano AM. Probabilistic Mapping of Deep Brain Stimulation: Insights from 15 Years of Therapy. Annals of Neurology. 2021;89:426–443. doi: 10.1002/ana.25975. [DOI] [PubMed] [Google Scholar]
  19. Ewert S, Plettig P, Li N, Chakravarty MM, Collins DL, Herrington TM, Kühn AA, Horn A. Toward defining deep brain stimulation targets in MNI space: A subcortical atlas based on multimodal MRI, histology and structural connectivity. NeuroImage. 2018;170:271–282. doi: 10.1016/j.neuroimage.2017.05.015. [DOI] [PubMed] [Google Scholar]
  20. Ewert S., Horn A, Finkel F, Li N, Kühn AA, Herrington TM. Optimization and comparative evaluation of nonlinear deformation algorithms for atlas-based segmentation of DBS target nuclei. NeuroImage. 2019;184:586–598. doi: 10.1016/j.neuroimage.2018.09.061. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Fedorov A, Beichel R, Kalpathy-Cramer J, Finet J, Fillion-Robin JC, Pujol S, Bauer C, Jennings D, Fennessy F, Sonka M, Buatti J, Aylward S, Miller JV, Pieper S, Kikinis R. 3D Slicer as an image computing platform for the Quantitative Imaging Network. Magnetic Resonance Imaging. 2012;30:1323–1341. doi: 10.1016/j.mri.2012.05.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Fonov VS, Evans AC, McKinstry RC, Almli CR, Collins DL. Unbiased nonlinear average age-appropriate brain templates from birth to adulthood. NeuroImage. 2009;47:S102. doi: 10.1016/S1053-8119(09)70884-5. [DOI] [Google Scholar]
  23. Forstmann BU, Isaacs BR, Temel Y. Ultra High Field MRI-Guided Deep Brain Stimulation. Trends in Biotechnology. 2017;35:904–907. doi: 10.1016/j.tibtech.2017.06.010. [DOI] [PubMed] [Google Scholar]
  24. Gunalan K, Chaturvedi A, Howell B, Duchin Y, Lempka SF, Patriat R, Sapiro G, Harel N, McIntyre CC. Creating and parameterizing patient-specific deep brain stimulation pathway-activation models using the hyperdirect pathway as an example. PLOS ONE. 2017;12:e0176132. doi: 10.1371/journal.pone.0176132. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Halpern CH, Danish SF, Baltuch GH, Jaggi JL. Brain shift during deep brain stimulation surgery for Parkinson’s disease. Stereotactic and Functional Neurosurgery. 2008;86:37–43. doi: 10.1159/000108587. [DOI] [PubMed] [Google Scholar]
  26. Horn A, Kühn AA. Lead-DBS: A toolbox for deep brain stimulation electrode localizations and visualizations. NeuroImage. 2015;107:127–135. doi: 10.1016/j.neuroimage.2014.12.002. [DOI] [PubMed] [Google Scholar]
  27. Horn A, Blankenburg F. Toward a standardized structural-functional group connectome in MNI space. NeuroImage. 2016;124:310–322. doi: 10.1016/j.neuroimage.2015.08.048. [DOI] [PubMed] [Google Scholar]
  28. Horn A, Kühn AA, Merkl A, Shih L, Alterman R, Fox M. Probabilistic conversion of neurosurgical DBS electrode coordinates into MNI space. NeuroImage. 2017;150:395–404. doi: 10.1016/j.neuroimage.2017.02.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Horn A. The impact of modern-day neuroimaging on the field of deep brain stimulation. Current Opinion in Neurology. 2019;32:511–520. doi: 10.1097/WCO.0000000000000679. [DOI] [PubMed] [Google Scholar]
  30. Horn A, Li N, Dembek TA, Kappel A, Boulay C, Ewert S, Tietze A, Husch A, Perera T, Neumann WJ, Reisert M, Si H, Oostenveld R, Rorden C, Yeh FC, Fang Q, Herrington TM, Vorwerk J, Kühn AA. Lead-DBS v2: Towards a comprehensive pipeline for deep brain stimulation imaging. NeuroImage. 2019;184:293–316. doi: 10.1016/j.neuroimage.2018.08.068. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Horn A, Fox MD. Opportunities of connectomic neuromodulation. NeuroImage. 2020;221:117180. doi: 10.1016/j.neuroimage.2020.117180. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Horn A. 11: Katrin Amunts – A modern take on human brain anatomy and its relevance to DBS. Figshare. 2021 https://figshare.com/articles/media/_11_Katrin_Amunts_A_modern_take_on_human_brain_anatomy_and_its_relevance_to_DBS/14501976/1
  33. Howell B, Gunalan K, McIntyre CC. A Driving-Force Predictor for Estimating Pathway Activation in Patient-Specific Models of Deep Brain Stimulation. Neuromodulation. 2019;22:403–415. doi: 10.1111/ner.12929. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Ilinsky I, Horn A, Paul-Gilloteaux P, Gressens P, Verney C, Kultas-Ilinsky K. Human Motor Thalamus Reconstructed in 3D from Continuous Sagittal Sections with Identified Subcortical Afferent Territories. ENeuro. 2018;5:0060-18. doi: 10.1523/ENEURO.0060-18.2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Joshua M, Elias S, Levine O, Bergman H. Quantifying the isolation quality of extracellularly recorded action potentials. Journal of Neuroscience Methods. 2007;163:267–282. doi: 10.1016/j.jneumeth.2007.03.012. [DOI] [PubMed] [Google Scholar]
  36. Kapur T, Pieper S, Fedorov A, Fillion-Robin J-C, Halle M, O’Donnell L, Lasso A, Ungi T, Pinter C, Finet J, Pujol S, Jagadeesan J, Tokuda J, Norton I, Estepar RSJ, Gering D, Aerts HJWL, Jakab M, Hata N, Ibanez L, Blezek D, Miller J, Aylward S, Grimson WEL, Fichtinger G, Wells WM, Lorensen WE, Schroeder W, Kikinis R. Increasing the impact of medical image computing using community-based open-access hackathons: The NA-MIC and 3D Slicer experience. Medical Image Analysis. 2016;33:176–180. doi: 10.1016/j.media.2016.06.035. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Koirala N, Serrano L, Paschen S, Falk D, Anwar AR, Kuravi P, Deuschl G, Groppa S, Muthuraman M. Mapping of subthalamic nucleus using microelectrode recordings during deep brain stimulation. Scientific Reports. 2020;10:19241. doi: 10.1038/s41598-020-74196-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Krauss JK, Lipsman N, Aziz T, Boutet A, Brown P, Chang JW, Davidson B, Grill WM, Hariz MI, Horn A, Schulder M, Mammis A, Tass PA, Volkmann J, Lozano AM. Technology of deep brain stimulation: current status and future directions. Nature Reviews. Neurology. 2021;17:75–87. doi: 10.1038/s41582-020-00426-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Krüger M. Navigated Deep Brain Stimulation Surgery: Evaluating the Combined Use of a Frame-Based Stereotactic System and a Navigation System. Stereotactic and Functional Neurosurgery. 2020;1:7. doi: 10.1159/000510528. [DOI] [PubMed] [Google Scholar]
  40. Li N, Baldermann JC, Kibleur A, Treu S, Akram H, Elias GJB, Boutet A, Lozano AM, Al-Fatly B, Strange B, Barcia JA, Zrinzo L, Joyce E, Chabardes S, Visser-Vandewalle V, Polosan M, Kuhn J, Kühn AA, Horn A. A unified connectomic target for deep brain stimulation in obsessive-compulsive disorder. Nature Communications. 2020;11:3364. doi: 10.1038/s41467-020-16734-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Lozano CS, Ranjan M, Boutet A, Xu DS, Kucharczyk W, Fasano A, Lozano AM. Imaging alone versus microelectrode recording-guided targeting of the STN in patients with Parkinson’s disease. Journal of Neurosurgery. 2018;130:1–6. doi: 10.3171/2018.2.JNS172186. [DOI] [PubMed] [Google Scholar]
  42. Middlebrooks EH, Domingo RA, Vivas-Buitrago T, Okromelidze L, Tsuboi T, Wong JK, Eisinger RS, Almeida L, Burns MR, Horn A, Uitti RJ, Wharen RE, Holanda VM, Grewal SS. Neuroimaging Advances in Deep Brain Stimulation: Review of Indications, Anatomy, and Brain Connectomics. AJNR. American Journal of Neuroradiology. 2020;41:1558–1568. doi: 10.3174/ajnr.A6693. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Network Stimulation Laboratory leaddbs. d3b55fdGitHub. 2022 https://github.com/netstim/leaddbs
  44. Neudorfer C, Germann J, Elias GJB, Gramer R, Boutet A, Lozano AM. A high-resolution in vivo magnetic resonance imaging atlas of the human hypothalamic region. Scientific Data. 2020;7:305. doi: 10.1038/s41597-020-00644-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Neumann JO, Giese H, Biller A, Nagel AM, Kiening K. Spatial Distortion in MRI-Guided Stereotactic Procedures: Evaluation in 1.5-, 3- and 7-Tesla MRI Scanners. Stereotactic and Functional Neurosurgery. 2015;93:380–386. doi: 10.1159/000441233. [DOI] [PubMed] [Google Scholar]
  46. Noecker AM, Frankemolle-Gilbert AM, Howell B, Petersen MV, Beylergil SB, Shaikh AG, McIntyre CC. StimVision v2: Examples and Applications in Subthalamic Deep Brain Stimulation for Parkinson’s Disease. Neuromodulation. 2021;24:248–258. doi: 10.1111/ner.13350. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Norton I, Essayed WI, Zhang F, Pujol S, Yarmarkovich A, Golby AJ, Kindlmann G, Wassermann D, Estepar RSJ, Rathi Y, Pieper S, Kikinis R, Johnson HJ, Westin C-F, O’Donnell LJ. SlicerDMRI: Open Source Diffusion MRI Software for Brain Cancer Research. Cancer Research. 2017;77:e101–e103. doi: 10.1158/0008-5472.CAN-17-0332. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Oxenford S. Lead-OR_Supplementary. swh:1:rev:c7b8661f0587db992e7eba978d61da8cd7cdc88bGitHub. 2022a https://github.com/simonoxen/Lead-OR_Supplementary
  49. Oxenford S. SlicerNetstim. swh:1:rev:2439c1e117af9027802ba48b67530a0af189c6feGitHub. 2022b https://github.com/netstim/SlicerNetstim
  50. Petersen MV, Mlakar J, Haber SN, Parent M, Smith Y, Strick PL, Griswold MA, McIntyre CC. Holographic Reconstruction of Axonal Pathways in the Human Brain. Neuron. 2019;104:1056–1064. doi: 10.1016/j.neuron.2019.09.030. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Reisert M, Mader I, Anastasopoulos C, Weigel M, Schnell S, Kiselev V. Global fiber reconstruction becomes practical. NeuroImage. 2011;54:955–962. doi: 10.1016/j.neuroimage.2010.09.016. [DOI] [PubMed] [Google Scholar]
  52. Rey M, Dellatolas G, Bancaud J, Talairach J. Hemispheric lateralization of motor and speech functions after early brain lesion: study of 73 epileptic patients with intracarotid amytal test. Neuropsychologia. 1988;26:167–172. doi: 10.1016/0028-3932(88)90040-1. [DOI] [PubMed] [Google Scholar]
  53. Santin MD, Didier M, Valabrègue R, Yahia Cherif L, García-Lorenzo D, Loureiro de Sousa P, Bardinet E, Lehéricy S. Reproducibility of R2 * and quantitative susceptibility mapping (QSM) reconstruction methods in the basal ganglia of healthy subjects. NMR in Biomedicine. 2017;30:3491. doi: 10.1002/nbm.3491. [DOI] [PubMed] [Google Scholar]
  54. Schaltenbrand G, Wahren W, Hassler RG. Atlas for Stereotaxy of the Human Brain. ThiemeStuttgart; 1977. [Google Scholar]
  55. Sharp GC, Li R, Wolfgang J, Chen G, Peroni M, Spadea MF, Mori S, Zhang J, Shackleford J, Kandasamy N. Plastimatch-an open source software suite for radiotherapy image processing. In Proceedings of the XVI’th International Conference on the Use of Computers in Radiotherapy (ICCR.2010. [Google Scholar]
  56. Sudhyadhom A, Haq IU, Foote KD, Okun MS, Bova FJ. A high resolution and high contrast MRI for differentiation of subcortical structures for DBS targeting: The Fast Gray Matter Acquisition T1 Inversion Recovery (FGATIR. NeuroImage. 2009;47:T44–T52. doi: 10.1016/j.neuroimage.2009.04.018. [DOI] [PubMed] [Google Scholar]
  57. Sui Y, Tian Y, Ko WKD, Wang Z, Jia F, Horn A, De Ridder D, Choi KS, Bari AA, Wang S, Hamani C, Baker KB, Machado AG, Aziz TZ, Fonoff ET, Kühn AA, Bergman H, Sanger T, Liu H, Haber SN, Li L. Deep Brain Stimulation Initiative: Toward Innovative Technology, New Disease Indications, and Approaches to Current and Future Clinical Challenges in Neuromodulation Therapy. Frontiers in Neurology. 2020;11:597451. doi: 10.3389/fneur.2020.597451. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Thompson JA, Oukal S, Bergman H, Ojemann S, Hebb AO, Hanrahan S, Israel Z, Abosch A. Semi-automated application for estimating subthalamic nucleus boundaries and optimal target selection for deep brain stimulation implantation surgery. Journal of Neurosurgery. 2018;1:10. doi: 10.3171/2017.12.JNS171964. [DOI] [PubMed] [Google Scholar]
  59. Tourdias T, Saranathan M, Levesque IR, Su J, Rutt BK. Visualization of intra-thalamic nuclei with optimized white-matter-nulled MPRAGE at 7T. NeuroImage. 2014;84:534–545. doi: 10.1016/j.neuroimage.2013.08.069. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Treu S, Strange B, Oxenford S, Neumann WJ, Kühn A, Li N, Horn A. Deep brain stimulation: Imaging on a group level. NeuroImage. 2020;219:117018. doi: 10.1016/j.neuroimage.2020.117018. [DOI] [PubMed] [Google Scholar]
  61. Vassal F, Coste J, Derost P, Mendes V, Gabrillargues J, Nuti C, Durif F, Lemaire JJ. Direct stereotactic targeting of the ventrointermediate nucleus of the thalamus based on anatomic 1.5-T MRI mapping with a white matter attenuated inversion recovery (WAIR) sequence. Brain Stimulation. 2012;5:625–633. doi: 10.1016/j.brs.2011.10.007. [DOI] [PubMed] [Google Scholar]
  62. Vedam-Mai V, Deisseroth K, Giordano J, Lazaro-Munoz G, Chiong W, Suthana N, Langevin JP, Gill J, Goodman W, Provenza NR, Halpern CH, Shivacharan RS, Cunningham TN, Sheth SA, Pouratian N, Scangos KW, Mayberg HS, Horn A, Johnson KA, Butson CR, Gilron R, de Hemptinne C, Wilt R, Yaroshinsky M, Little S, Starr P, Worrell G, Shirvalkar P, Chang E, Volkmann J, Muthuraman M, Groppa S, Kühn AA, Li L, Johnson M, Otto KJ, Raike R, Goetz S, Wu C, Silburn P, Cheeran B, Pathak YJ, Malekmohammadi M, Gunduz A, Wong JK, Cernera S, Hu W, Wagle Shukla A, Ramirez-Zamora A, Deeb W, Patterson A, Foote KD, Okun MS. Corrigendum: Proceedings of the Eighth Annual Deep Brain Stimulation Think Tank: Advances in Optogenetics, Ethical Issues Affecting DBS Research, Neuromodulatory Approaches for Depression, Adaptive Neurostimulation, and Emerging DBS Technologies. Frontiers in Human Neuroscience. 2021;15:150. doi: 10.3389/fnhum.2021.765150. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Vogel D, Shah A, Coste J, Lemaire JJ, Wårdell K, Hemm S. Anatomical brain structures normalization for deep brain stimulation in movement disorders. NeuroImage. Clinical. 2020;27:102271. doi: 10.1016/j.nicl.2020.102271. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Wang Y, Liu T. Quantitative susceptibility mapping (QSM): Decoding MRI data for a tissue magnetic biomarker. Magnetic Resonance in Medicine. 2015;73:82–101. doi: 10.1002/mrm.25358. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Wang F, Dong Z, Tian Q, Liao C, Fan Q, Hoge WS, Keil B, Polimeni JR, Wald LL, Huang SY, Setsompop K. In vivo human whole-brain Connectom diffusion MRI dataset at 760 µm isotropic resolution. Scientific Data. 2021;8:122. doi: 10.1038/s41597-021-00904-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Xiao Y., Fonov V, Chakravarty MM, Beriault S, Al Subaie F, Sadikot A, Pike GB, Bertrand G, Collins DL. A dataset of multi-contrast population-averaged brain MRI atlases of A Parkinson׳s disease cohort. Data in Brief. 2017;12:370–379. doi: 10.1016/j.dib.2017.04.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  67. Xiao Y, Lau JC, Anderson T, DeKraker J, Collins DL, Peters T, Khan AR. An accurate registration of the BigBrain dataset with the MNI PD25 and ICBM152 atlases. Scientific Data. 2019;6:210. doi: 10.1038/s41597-019-0217-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Zaidel A, Spivak A, Shpigelman L, Bergman H, Israel Z. Delimiting subterritories of the human subthalamic nucleus by means of microelectrode recordings and a Hidden Markov Model. Movement Disorders. 2009;24:1785–1793. doi: 10.1002/mds.22674. [DOI] [PubMed] [Google Scholar]
  69. Zrinzo L, Foltynie T, Limousin P, Hariz MI. Reducing hemorrhagic complications in functional neurosurgery: A large case series and systematic literature review. Journal of Neurosurgery. 2012;116:84–94. doi: 10.3171/2011.8.JNS101407. [DOI] [PubMed] [Google Scholar]

Editor's evaluation

Lars Timmermann 1

The authors present a software tool combining and correlating the documentation of intraoperative neurophysiological findings with atlas and imaging data. They also show an exemplary validation of their tool in a clinical series of 52 Parkinson's disease patients who underwent DBS surgery. This article will be of interest to clinicians and researchers who are involved in both the placement and controlling of the accuracy of the location of deep brain stimulation electrodes.

Decision letter

Editor: Lars Timmermann1
Reviewed by: Ausaf Bari2

Our editorial process produces two outputs: i) public reviews designed to be posted alongside the preprint for the benefit of readers; ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.

Decision letter after peer review:

Thank you for submitting your article "Lead-OR: A Multimodal Platform for Deep Brain Stimulation Surgery" for consideration by eLife. Your article has been reviewed by 2 peer reviewers, and the evaluation has been overseen by a Reviewing Editor Lars Timmermann and Christian Büchel as the Senior Editor. The following individual involved in review of your submission has agreed to reveal their identity: Ausaf Bari (Reviewer #2).

The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

This paper from Oxenford et al. describes a new open-source software tool LEAD-OR which allows a real-time visualization and merging of imaging and MER data during a DBS implantation procedure.

The guest editor and the reviewers were agreeing that this new technology is a major step in academic analysis of joint electrophysiological and imaging derived information for the analysis of target areas for deep brain stimulation. However, the reviewers also see some points that should be made a little more clear to envision the potential pitfalls and limitations of this program:

1. MER data has been highly selectively analyzed retrospectively. A number of patients were sorted out because of insufficient MER data. Could the authors please give an impression how the program gives feedback to investigators in a real-life OR situation about e.g. noisy MER recordings? Does the program give a sufficient feedback? How are processing times during the OR approach using rea-time MER?

2. How is the actual visualization while the program is running in the OR?

3. The authors mention the brain shift as the major source of discrepancy between imaging data and MER data. However, those are the patients who really need a good localization by MER and a "warning" to the OR team that imaging based on pre-OP MRI is not reflecting the actual situation anymore…. With other words: We would like to see from the authors how the program visualizes in the patients with a larger brain shift the critical discrepancies between MER localization and imaging.

4. In many ORs intraoperative imaging is used to verify the correct electrode position. In some this is done by the AERO-CT, in some ORs a fixed conventional stereotactic imaging set-up is used. How is this intra-operative imaging integrated into LEAD-OR?

5. It would be nice to see a number of single cases with unusual STN configurations. The value of this program will NOT be the correct classification and identification in the classical textbook cases but rather in the patients with unusual configurations of e.g. the STN.

6. We are not totally clear in understanding: What is really the GOLD-Standard in defining the target area in the visualization for the OR team? The MER? OR pre-OP imaging? Or intra-OP imaging?

Please also have a detailed look at the reviewers comments and revise carefully.

Reviewer #1 (Recommendations for the authors):

There are several issues which need to be addressed upon revision of the manuscript:

The statement in the abstract that one would use "commonly … up to five trajectories in parallel" is inconclusive as it stands. Better to say, "using a single trajectory or up to five trajectories in parallel".

Page 2, line 41. The frame itself does not include markers. Such markers are located in the fiducial plates which are mounted for imaging.

Page 2, line 55: Most "expert electrophysiologists" actually are "expert neurosurgeons or neurologists".

Page 3, line 100. Why should the use of Lead-OR be "strictly limited to Institutional Review Board (IRB) approved Research"? This does not really make sense since IRB approval would not address questions of liability associated with open-source software tools. The discussion with that regard is also misleading. "Study contexts" do not solve the inherent problems.

It is good to see that the tool can be applied when several microelectrode recording trajectories are used in parallel, but it would be better to discuss its feasibility first for a single trajectory and then for three or up to five.

Figure 1 is quite unclear. The red nucleus appears to be 10 times larger than the STN in this figure, also the colours appear to be wrongly applied. Please correct.

In general, I would recommend not to use too many abbreviations in figure legends. What does SDK mean?

Figure 6 is referred to prior referring to figures 4 and 5. Please correct.

It is a weakness of the patient series that some recordings were made under general anaesthesia. The problems with this should be outlined more clearly.

What type of "macroelectrodes" were used?

Reviewer #2 (Recommendations for the authors):

This is an exciting achievement by the authors. However, my main criticism is that it is a fairly descriptive paper without a central scientific premise. It would have been strengthened if for example the STN recordings and atlas overlays had been analyzed in more depth as that could have served as the scientific premise in this case. The data would also be further bolstered by including thalamic and GP cases.

[Editors' note: further revisions were suggested prior to acceptance, as described below.]

Thank you for resubmitting your work entitled "Lead-OR: A Multimodal Platform for Deep Brain Stimulation Surgery" for further consideration by eLife. Your revised article has been evaluated by Christian Büchel (Senior Editor), a Reviewing Editor, and three reviewers.

The manuscript has been improved but there are some remaining issues that need to be addressed, as outlined below:

Reviewer #3 (Recommendations for the authors):

Summary:

Oxenford and colleagues present a novel framework for integrating data from multiple domains during surgery for Deep Brain Stimulation lead placement to enable informed decisions about the best target location in key regions associated with Parkinson's disease in the future. The innovative approach of the very diligent group from Berlin goes far beyond the common practice of implantation based on the assessment of imaging results and neurophysiological patterns encountered and the team's experience in parallel and towards an integrative and publicly available toolbox aimed at processing this information at once.

Review:

The approach from the group paves the way for the discussion of how to better objectify target selection away from the sole consideration of often imperfect imaging by extending it via intraoperative recordings – what some would consider the undisputed gold standard for DBS lead placement. It's a very well written and meticulously ornated manuscript with multitudes of details and visualisations. One of the intriguing and possibly most underestimated parts of this work is its open source character, which lends credence to the analyses but invites literate scientists to obtain deep insights into technical details; but at the same time also offers the possibility to include this toolbox easily into their routine. This open science approach is a lived practice for this group as an unparalleled service for the entire DBS community. In the referee's opinion, it links at the same time a potential drawback for other centres with less experience. Regardless of the multitude of potential extensions in principle (tractography, intraoperative imaging, etc.), it remains to be ascertained whether centres with less experience and technical know-how will be able to incorporate such a toolbox into their protocols. Nevertheless, an overly specialized solution with a high potential for expansions should not serve as excessive criticism of the authors' highly innovative concept and the well-balanced manuscript.

Recommendations for the authors:

From a personal point of view, the reviewer would preferably arrange Figure 5E the other way round, as this is more intuitive to understand. In any case, it should be briefly noted that according to RAS, with increasing values on the z-axis, the layers display more dorsal/superior slices. This figure is yet also quite interesting in terms of its content, as it implies that there is a great overlap between imaging and putative neurophysiologic epiphenomena of the STN in PD-patients but at the same time offers a somewhat puzzling result of a discrepancy towards (a) the location of the dorsolateral STN and (b) to what is generally believed to be the spot to aim for. The reviewer does believe Oxenfurt et al. have already done a marvellous job adding information and addressing points that have been arisen, nonetheless, inclusion of considerations into the discussion of where final electrodes were located, ergo where the best clinical outcomes were to be found and the proposed combined analyses seem interesting the least.

One of the aspects that needs further explanation is the number of artefacts or that of participants. On the one hand, it is undisputed that the exclusion of erroneous or low-quality data is a common practice. Nonetheless, 40% exclusions appear rather high, so this may need some further clarification, as possibly indicated by another reviewer. In addition, the number of 52 patients included does not seem very transparent. It would be helpful to explain where these people came from, i.e. whether they were consecutive patients within a period of time or specially selected people, etc.

eLife. 2022 May 20;11:e72929. doi: 10.7554/eLife.72929.sa2

Author response


The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.

1. MER data has been highly selectively analyzed retrospectively. A number of patients were sorted out because of insufficient MER data. Could the authors please give an impression how the program gives feedback to investigators in a real-life OR situation about e.g. noisy MER recordings? Does the program give a sufficient feedback? How are processing times during the OR approach using rea-time MER?

As the editor mentioned, we manually discarded data with insufficient electrophysiological or imaging quality to perform our analysis. However, especially in the electrophysiological domain, we believe it to be quite common (e.g., post-processing of most EEG experiments include a step of epoching where episodes with artifacts are discarded). We are unaware of an algorithm that could reliably replace expert-based epoching to do so.

In the real-time setting, it is crucial to note that Lead-OR is a satellite program to the actual electrophysiology software used (e.g. the NeuroOmega workstation). It is not the intention of Lead-OR to replace these systems, but rather to complement them with information from neuroimaging. Users can still see raw data from acquisition devices and based on their knowledge and experience make an understanding of the quality of the signals. Hence, in this first iteration of the program we did not include robust routines to quantify signal quality. Not even the official electrophysiological software tools (like NeuroOmega or Leadpoint) do so.

This being said, we now made it is possible to remove data points calculated by the program in a real-time setting. For example, if users would identify poor quality recordings which then derived non-sensical measurements by the program, they are now able to discard them in order not to compromise the visualization.

The computation of features takes a few seconds and is continuously running to update the visualization. Again, this very much compares to other algorithms, such as the HaGuide tool issued by AlphaOmega. We have now further highlighted this in the real-time setting video (Figure 4-video 2; see attached to the submission) introduced in the next point. As can be seen in the following points, we now include a large number of additional cases, unusual cases, videos, and examples with GPi/ thalamic surgery to illustrate how Lead-OR performs in different clinical scenarios. We added the following paragraphs to further clarify aforementioned points:

“The computation of features is continuously executed for each position of the microdrive, updating the recording stream at each time point. This process takes a few seconds (depending on available hardware), and the visualization is then updated.” – methods, p. 6

“Lead-OR should be seen as a satellite application to existing intraoperative electrophysiology software tools, not an attempt to replace them. The aim of our application is to augment these existing tools by a projection of recorded signals to anatomical space. It is intended to run in parallel to existing software (either on a secondary machine or on the same computer). Hence, thorough inspection and analysis of electrophysiological signals will remain unchanged for users of existing software, while our tool could hopefully add additional insights about the anatomical origins of recorded signals.” – discussion, p. 13

2. How is the actual visualization while the program is running in the OR?

To demonstrate the visualization of the surgical procedure we have included an additional video (Figure 4-video 2; see attached to the submission) in the revised version of the manuscript. Specifically, we highlight Lead-OR’s user interface and provide a thorough walkthrough demo of how Lead-OR is set up and executed intraoperatively including connection to the hardware device, channel selection for recording, configuration of trajectories, input planning, stimulation set up, visualization and processing of live data streaming into the software. The added legend reads:

“Figure 4-video 2. Video showing the program user interface and its use. Includes exemplary connection to the hardware device, channel selection for recording, configuration of trajectories, input planning, stimulation set up, visualization and processing of live data streaming into the software.” – results, p. 10

3. The authors mention the brain shift as the major source of discrepancy between imaging data and MER data. However, those are the patients who really need a good localization by MER and a "warning" to the OR team that imaging based on pre-OP MRI is not reflecting the actual situation anymore…. With other words: We would like to see from the authors how the program visualizes in the patients with a larger brain shift the critical discrepancies between MER localization and imaging.

We absolutely agree. However, we would also like to stress the following point: As the editor mentions, if anatomical and electrophysiological information were to always converge, we would need only one of the two. Hence, disagreement between the two information sources — and visualization of this disagreement — may be leveraged to provide information regarding size and extent of anatomical variability. Without overlaying the two sources of information in anatomical space (standard care), this mismatch goes unnoticed.

We were thrilled by the idea of the editor to add a warning and deliberate information about brain shift occurring during surgery. This took considerable effort since a novel algorithm was needed, but we believe we can show something promising. We calculated the displacement in each trajectory at which the imaging and electrophysiology-derived measures most corresponded to each other. In our sample, these displacements (cross-correlation lags) correlated with brain shift as observed on postoperative CT.

The following sections and a novel figure were amended in the revised version of the manuscript:

“Using the Lead-DBS pipeline we carried out brain shift correction using post-operative computerized tomography data (Horn et al., 2019). This allowed us to quantify the degree of brain shift occurring after surgery based on imaging derived metrics. For each trajectory, each recording position was displaced using the brain shift correction transform. We took the median of displacements as the amount of brain shift for each trajectory. We will refer to this measure as the imaging-based brain shift estimate in this manuscript (note that it is derived from pre- and post- operative imaging data).” – methods, p. 8

“Additionally, NRMS values and STN distances for each trajectory were transformed with the inverse tangent function resulting in similar distributions of the two. Subsequent cross correlation of these two signals along each trajectory resulted in a maximum cross correlation value and the lag (displacement) at which this maximum occurred (Figure 5–source code 2).” – methods, p. 9

“In a next step, we sorted the trajectories according to their maximum cross correlation and split the data in half, retaining the trajectories that were in close proximity to the STN and showed electrophysiological activity. We then sorted the top half according to the lag at which the maximum cross correlation occurred (Figure 5–source code 2). We will refer to this lag as the electrophysiology-based brain shift estimate (note that it is derived from pre-operative imaging and intra-operative electrophysiology). Hence, in contrast to the imaging-derived brain shift estimate (which required postoperative imaging), this one could be computed during surgery. The electrophysiology-based brain shift measures were compared to the imaging-based brain shift estimates in two ways: First, we contrasted imaging-based brain shift estimates between the low versus high lag groups using Wilcoxon’s signed rank test. The high lag group was defined by taking trajectories with lag values above one standard deviation of the lags. The low lag group is composed by the same number of trajectories taken from the data sorted according to the lag. This would analyze whether cases with high electrophysiology-derived estimates indeed had more brain shift based on the imaging-based estimate. Second, we correlated values from the high lag trajectories (where significant brain shift was estimated based on electrophysiology) with the imaging-derived estimate of brain shift. This would analyze whether the degree of brain shift would correlate between electrophysiology- and imaging-derived estimates.” – methods, p. 9

“With respect to the brain shift analysis, the low lag and high lag groups showed a significantly different brain shift distribution (Wilcoxon’s signed rank test ρ = 0.0076). Also, correlating the high lag values (electrophysiology-derived brain shift estimate) with their imaging-derived brain shift estimates showed a significant association (R = 0.40, ρ = 0.016; Figure 5—figure supplement 1). Figure 5—figure supplement 2 shows an example case illustrating how the imaging-based brain shift corrected Lead-OR scene presents better correspondence between imaging and MER.” – results, p. 10

“In our brain shift analysis we could demonstrate that some of [the imaging and electrophysiology] discrepancies are associated with the occurrence of brain shift. This presented analysis could be considered a first of its kind attempt to infer brain shift during surgery using a combination of preoperative MRI and intraoperative MER. Specifically, the cross correlation derived features may be used as indicators (provided by the program) to quantify discrepancies between MER and imaging data, in a real-time setting. This analysis can be further elaborated upon and integrated in future iterations of the platform.” – discussion, p. 15

4. In many ORs intraoperative imaging is used to verify the correct electrode position. In some this is done by the AERO-CT, in some ORs a fixed conventional stereotactic imaging set-up is used. How is this intra-operative imaging integrated into LEAD-OR?

While it would be interesting and beneficial, currently, such a feature is not integrated into Lead-OR. We thought long and hard about whether we could easily integrate something during the revision, but concluded it would be out of scope for the current manuscript. The main reasons are as follows: First, as the editor mentions, different sources from 2D and 3D imaging are used and especially registering 2D imaging to a 3D scene is an unsolved research field of its own. Second, not even commercial real-time applications (such as Brainlab Elements) do not include such a feature that is intended for intraoperative use. Third, while related to the aim of Lead-OR, the use of intraoperative imaging should be seen as tangential. While the aim of Lead-OR was to fuse electrophysiology with intraoperative imaging, the reason to acquire intraoperative imaging is to confirm electrode placement within the intended target. However, while we had to take a rain check at present, we believe that the inclusion of Lead-OR as an open-source tool within the 3D Slicer environment has the potential to further include the features the editor had in mind. Indeed, multiple other plugins of 3D Slicer could be used/recruited and combined with Lead-OR to flexibly adapt to the needs in each OR.

We added the following to the discussion clarifying this point:

“On the hardware side, other possible integrations to the platform in the future include the usage of intra-operative imaging such as CT or X-ray acquired for final verification of electrode placement. Data from these acquisitions could potentially be integrated to further enhance visualizations provided by Lead-OR.” – discussion, p. 13

5. It would be nice to see a number of single cases with unusual STN configurations. The value of this program will NOT be the correct classification and identification in the classical textbook cases but rather in the patients with unusual configurations of e.g. the STN.

We agree that inclusion of cases with unusual configurations will be useful for the reader to better grasp the capabilities of Lead-OR. Thus, we have amended the manuscript and now provide additional figures highlighting how Lead-OR handles unusual anatomical configurations (i.e., narrow skull, asymmetric hemispheres, broad skull) as well as different targets (i.e., VIM and GPi) as suggested by reviewer #2. The Results section of the manuscript was amended as follows:

“Furthermore, Figure 4—figure supplement 1 shows the application of the tool in a VIM and GPi example. Finally, for illustrative purposes, we included additional three STN cases with unusual anatomical configurations in Figure 4—figure supplement 2.” – results, p. 10

6. We are not totally clear in understanding: What is really the GOLD-Standard in defining the target area in the visualization for the OR team? The MER? OR pre-OP imaging? Or intra-OP imaging?

We would argue that there is no clear gold-standard and for this reason multiple sources of information are usually combined to form an expert decision (imaging, MER, LFP, test stimulations). Furthermore, the strategy of the surgical team may differ from institution to institution. As the editor surely knows, some centers solely rely on pre-operative imaging (as e.g., the London group or the team at Brigham & Women’s), others carry out MER recordings and test stimulations, etc.

In our opinion, the introduced tool could be a crucial help to exactly form this decision that relies on multi-modal data by fusing key metrics of all data sources in a single three-dimensional scene. However, we must emphasize that the target area is defined by the surgeon in stereotactic planning software (e.g., Brainlab in our case). Lead-OR does not propose a target implantation area. Instead, it provides means to visualize data to facilitate decisions by the surgical team.

We the following paragraph was modified to make this clearer:

The tools, methods and software described here are not approved by any regulatory authorities and are not intended to assist in making clinical decisions. Rather, we present them for use in purely research driven purposes under proper IRB approval in study contexts. The tool should be seen as a data visualization tool that could potentially save researchers time by showing data from multiple sources in direct synopsis to one another. As such, it may be powerful to further explore the interplay between electrophysiology and imaging, to validate biophysical models and to better characterize patient specific data.” – discussion, p. 13

Please also have a detailed look at the reviewers comments and revise carefully.

Reviewer #1 (Recommendations for the authors):

There are several issues which need to be addressed upon revision of the manuscript:

The statement in the abstract that one would use "commonly … up to five trajectories in parallel" is inconclusive as it stands. Better to say, "using a single trajectory or up to five trajectories in parallel".

Thank you for raising this point. Unrelated to this comment, we revised the abstract to make it clearer and removed the mention to the number of trajectories. The background section in the abstract now reads:

Deep Brain Stimulation (DBS) electrode implant trajectories are stereotactically defined using preoperative neuroimaging. To validate the correct trajectory, microelectrode recordings (MER) or local field potential recordings (LFP) can be used to extend neuroanatomical information (defined by magnetic resonance imaging) with neurophysiological activity patterns recorded from micro- and macroelectrodes probing the surgical target site. Currently, these two sources of information (imaging vs. electrophysiology) are analyzed separately, while means to fuse both data streams have not been introduced.” – Abstract, p. 1

Page 2, line 41. The frame itself does not include markers. Such markers are located in the fiducial plates which are mounted for imaging.

Thank you for raising our awareness of this issue. We have revised the Introduction as follows:

Surgical planning is usually carried out after fusing the MRI sequences with a computed tomography (CT) volume acquired with the stereotactic frame and fiducial plates already mounted to the patient’s head. The fiducial plates include markers that are used to convert stereotactic coordinates (established in the planning software) to frame coordinates (applicable to mechanically adjust the stereotactic frame) in order to place electrodes to the intended target. – introduction, p. 2

Page 2, line 55: Most "expert electrophysiologists" actually are "expert neurosurgeons or neurologists".

We thank the reviewer for this comment. We have amended the manuscript as follows:

While most centers analyze MERs by visual and auditory inspection from expert neurosurgeons or neurologists, the first FDA and CE-approved machine-learning algorithms that facilitate this monitoring step have recently been introduced, …” – Introduction, p 2

Page 3, line 100. Why should the use of Lead-OR be "strictly limited to Institutional Review Board (IRB) approved Research"? This does not really make sense since IRB approval would not address questions of liability associated with open-source software tools. The discussion with that regard is also misleading. "Study contexts" do not solve the inherent problems.

The reviewer raises an important point. While the legal framework within and around the use of research software for medical research may differ between countries, we want to emphasize that Lead-OR is neither CE marked nor FDA approved software. Similar tools, such as the StimVision (Noecker et al. 2021) are non-approved software tools which clarify that their use is “strictly limited to Institutional Review Board (IRB) approved research studies at individual academic institutions”. This being said, we defer to local laws and review board practices on whether the use of Lead-OR within a study context can or cannot be approved. The manuscript was amended as follows:

Lead-OR is intended for purely academic research use and does not have any form of government body regulatory approval. As such, any use of Lead-OR is strictly limited to Institutional Review Board (IRB) approved research studies at individual academic institutions, while legal frameworks and practices may differ from country to country.” – methods, p. 3

We would argue that study contexts do indeed “solve” the problem in that the regulatory authority would be an IRB (or similar depending on legal context), and not the FDA / CE. For instance, the aforementioned StimVision tool was used in multiple studies that involved surgery for depression (e.g., Riva-Posse 2017 Mol Psych).

In most legal contexts that we are aware of, IRB approval would be needed e.g. to prospectively study the use and safety of such a novel software. In Germany, however, IRBs would need further approval by the Landesgesundheitsamt to give their consent (device study).

In other words, with this passage we wanted to state as clearly as possible to all readers that we are not introducing a certified software but a research software, and it will be the task of interested users to make sure they are allowed by local regulatory bodies to carry out what they intend to do.

It is good to see that the tool can be applied when several microelectrode recording trajectories are used in parallel, but it would be better to discuss its feasibility first for a single trajectory and then for three or up to five.

We would like to respectfully disagree with this point and cannot completely see the advantage of analyzing data on one-trajectory procedures, currently. Maybe the reviewer could clarify how or why this would lead to advantages, further?

Also, this would change our complete study, since all analyses build on the retrospective (and multi-electrode) data, we currently have. At our center, we do not carry out surgeries with single trajectories. Our local surgeons strongly advised against the use of single trajectories, in the past. Here at Charité, a minimum of 2 trajectories are always applied to maximize stability of the path they enter the brain in x/y directions.

The following was added to clarify this:

“The setup interacts with commercial tools for surgical planning and MERs and has the capability to visualize and analyze data in various forms. In the presented group study, the data acquisition conditions were not controlled for, given their retrospective nature. However, the platform can generalize to alternate settings. For example, the number of trajectories used can be set from one to five, without compromising its execution. With respect to hardware settings, while currently, a fixed set of interfaces to commercial tools is available, the open-source nature of the software will allow integration of links to other devices.” – discussion, p. 12.

Figure 1 is quite unclear. The red nucleus appears to be 10 times larger than the STN in this figure, also the colours appear to be wrongly applied. Please correct.

Thank you for raising this point. We revised the figure to make its appearance clearer.

In general, I would recommend not to use too many abbreviations in figure legends. What does SDK mean?

‘SDK’ stands for ‘Software Development Kit’. We agree that abbreviations should be avoided as much as possible. We revised all figure legends taking this into account.

Figure 6 is referred to prior referring to figures 4 and 5. Please correct.

We thank the reviewer for their attentive comment. We have corrected this mistake.

It is a weakness of the patient series that some recordings were made under general anaesthesia. The problems with this should be outlined more clearly.

We agree with the reviewer that this is a crucial point and a strong limitation of our study. We added the following to our limitations section to further address this:

Moreover, anesthesia and wakefulness of patients have an impact on the recordable neurophysiological activity patterns and should be considered when making assumptions about the relationship between neuroanatomy and neurophysiology. While here, patients were awake in general, this followed periods of anesthesia (following the clinical protocol established at our center). This leads to a non-uniform quality of the recordings which may then present challenges in their interpretation and in their processing via automatic algorithms. However, we operate in an experienced high-volume DBS center where surgical decisions are made based on the data used here. In other words, signal quality was sufficient for expert-based decision making. In the future, additional automatic EEG and EMG activity analysis could further augment the validity of the approach. In general, however, the main aim of the present manuscript was to demonstrate the use and feasibility of the tool, while dedicated analyses investigating specific neuroscientific questions should take aforementioned nuances into consideration further.” – discussion p. 15

What type of "macroelectrodes" were used?

We have amended the Methods section to clarify which macroelectrodes were used during surgery:

“Neuroprobe Sonus non-shielded microelectrodes (AlphaOmega, Nazareth, ISR) were used as micro/macroelectrodes.” – methods, p. 8

Reviewer #2 (Recommendations for the authors):

This is an exciting achievement by the authors. However, my main criticism is that it is a fairly descriptive paper without a central scientific premise. It would have been strengthened if for example the STN recordings and atlas overlays had been analyzed in more depth as that could have served as the scientific premise in this case. The data would also be further bolstered by including thalamic and GP cases.

We thank the reviewer for raising this point. We have included thorough additional analyses on brain shift, added multiple additional case examples (also see comments above) and — based on the reviewer’s suggestion — included an additional figure highlighting exemplary pallidal and thalamic cases. We have amended the Results and Discussion sections as follows:

“Furthermore, Figure 4—figure supplement 1 shows the application of the tool in a VIM and GPi example. Finally, for illustrative purposes, we included additional three STN cases with unusual anatomical configurations in Figure 4—figure supplement 2.” – results, p. 10

“Furthermore, although we present the tool and analysis made with STN cases, it could also be applied for other DBS targets. As illustrative examples, we refer to Figure 4—figure supplement 1 to see Lead-OR visualizations for a VIM and a GPi case.” – discussion, p. 12

It is important to note that the paper was submitted to the tools and resources section of eLife, in which “articles do not have to report major new biological insights or mechanisms, but it must be clear that they will enable such advances to take place, for example, through exploratory or proof-of-concept experiments” (https://reviewer.elifesciences.org/author-guide/types). Still, we aimed to answer one hypothesis driven experiment, which addresses the agreement between electrophysiology and imaging-based reconstructions of the STN. In the revised version of the manuscript, we additionally investigate how brain shift could be estimated in real-time using the combination between preoperative imaging and electrophysiological data (refer to point 3 raised above). We apologize if these analyses did not come out as clear in the manuscript. The following modified sections together with the analyses in point 3 were added to clarify this comment.

“The main hypothesis from the group analysis was that electrophysiological recordings acquired from within the imaging defined STN would show higher activity than the ones recorded outside of the STN.” – methods, p. 9

“Comparing the NRMS from the bottom 20% (outside of the STN) to the top 20% revealed an anatomical region with significant differences (ρ < 0.01) within the imaging defined STN boundaries (defined as the median of the top 20% STN boundaries). In other words, the recorded activity from inside this part of the STN were significantly higher than the ones recorded outside of it.” – results, p. 10

“Our results demonstrate general agreement between imaging and electrophysiology data on a group level. The recordings throughout the trajectories present a region with higher activity coinciding with the imaging-based STN.” – discussion, p. 15

[Editors' note: further revisions were suggested prior to acceptance, as described below.]

The manuscript has been improved but there are some remaining issues that need to be addressed, as outlined below:

Reviewer #3 (Recommendations for the authors):

From a personal point of view, the reviewer would preferably arrange Figure 5E the other way round, as this is more intuitive to understand. In any case, it should be briefly noted that according to RAS, with increasing values on the z-axis, the layers display more dorsal/superior slices. This figure is yet also quite interesting in terms of its content, as it implies that there is a great overlap between imaging and putative neurophysiologic epiphenomena of the STN in PD-patients but at the same time offers a somewhat puzzling result of a discrepancy towards (a) the location of the dorsolateral STN and (b) to what is generally believed to be the spot to aim for. The reviewer does believe Oxenfurt et al. have already done a marvellous job adding information and addressing points that have been arisen, nonetheless, inclusion of considerations into the discussion of where final electrodes were located, ergo where the best clinical outcomes were to be found and the proposed combined analyses seem interesting the least.

We thank the reviewer for their attentive comments and interest in the submitted work. We rearranged panel E in figure 5, now showing decreasing z values from left to right.

Following up with the reviewer’s suggestion, we are excited to include an additional supplementary figure where clinical DBS settings are visualized together with group results of the study shown in figure 5 of the manuscript. Given this was not the main focus of the study, we only introduce a qualitative analysis. A quantitative report describing clinical stimulation with micro electrode recordings features is not feasible with the present retrospective dataset (where clinical outcomes were not taken systematically at a fixed postoperative outcome, across this cohort). We amended the following sections and included an additional supplementary figure.

“The most recent available clinical stimulation settings were retrieved from all 32 patients (visits ranging from 3 to 44 months after surgery). We reconstructed DBS electrodes based on the standard Lead-DBS pipeline and denoted the coordinate of the active contact (in case of multiple active contacts, their locations were averaged). For a qualitative analysis, we projected this coordinate to the nearest point along the closest trajectory for each electrode.” – methods, p 8

“In Figure 5-Suplementary figure 3 we show clinical active contact coordinates with respect to the results of the group analysis as shown in figure 5. Most of the coordinates rely inside the STN and coincide with high activity regions as depicted by the micro electrode recordings.” – results, p 10

One of the aspects that needs further explanation is the number of artefacts or that of participants. On the one hand, it is undisputed that the exclusion of erroneous or low-quality data is a common practice. Nonetheless, 40% exclusions appear rather high, so this may need some further clarification, as possibly indicated by another reviewer. In addition, the number of 52 patients included does not seem very transparent. It would be helpful to explain where these people came from, i.e. whether they were consecutive patients within a period of time or specially selected people, etc.

We thank the reviewer for pointing this out. We explained further how inclusion was carried out in the text and in a more detailed way in a supplementary diagram. We modified the manuscript as follows:

“52 patients (12 female; mean age = 61 ± 9) were retrieved from cases undergoing STN-DBS surgery at Charité — Universitätsmedizin Berlin between 07/2017 until 10/2021. Inclusion was based on having homogeneous data acquisitions consistent with current surgical procedure (i.e., Brainlab planning exports together with corresponding imaging acquisitions and complete micro electrode recording information). Supplementary file 1 summarizes the inclusion process in form of a flow-chart.” – methods, p. 8

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Figure 4—source data 1. Slicer scene containing the spatial data shown in the Figure 4.
    Figure 5—source code 1. Uses Figure 5—source data 1 to generate Figure 5—source data 2 and panels A–D.
    Figure 5—source code 2. Uses Figure 5—source data 1 to generate Figure 5—figure supplement 1.
    Figure 5—source data 1. Trajectories data including normalized root mean square (NRMS) traces, subthalamic nucleus (STN) entry-exit positions, spike clusters, brain shift, and distance to STN values.
    Figure 5—source data 2. Cluster density volume shown in Figure 5E.
    Figure 6—source data 1. Slicer scene containing the spatial data shown in the Figure 6.
    Transparent reporting form
    Supplementary file 1. Inclusion flow chart.
    elife-72929-supp1.pdf (26.5KB, pdf)
    Reporting standard 1. STROBE checklist.

    Data Availability Statement

    All processed data and code needed to reproduce the main findings of the study are made openly available in deidentified form (see figure legends). This can be found in https://github.com/simonoxen/Lead-OR_Supplementary, (copy archived at swh:1:rev:c7b8661f0587db992e7eba978d61da8cd7cdc88b; Oxenford, 2022a) and attached to the publication. Due to data privacy regulations of patient data, raw data cannot be publicly shared. Upon reasonable request to the corresponding author, data can be made available after setting up a data-sharing agreement between our host institution (Charité – Universitätsmedizin Berlin) and the inquiring party. All codes used to analyze the dataset are available within Lead-DBS/-OR software (https://github.com/netstim/leaddbs [Network Stimulation Laboratory, 2022]; https://github.com/netstim/SlicerNetstim [Oxenford, 2022b]).

    All processed data and code needed to reproducemain findings of the study aremade openly available in de-identified form (see figure legends). This can be found in https://github.com/simonoxen/Lead-OR_Supplementary (copy archived at swh:1:rev:c7b8661f0587db992e7eba978d61da8cd7cdc88b). Due to data privacy regulations of patient data, raw data cannot be publicly shared. Upon reasonable request to the corresponding author, data can be made available after setting up a data sharing agreement between our host institution (Charité - Universitätsmedizin Berlin) and the inquiring party. All code used to analyze the dataset is available within Lead-DBS /-OR software (https://github.com/netstim/leaddbs; https://github.com/netstim/SlicerNetstim(copy archived at swh:1:rev:2439c1e117af9027802ba48b67530a0af189c6fe)).


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES