The analysis and interpretation of transcranial magnetic stimulation (TMS)-evoked potentials (TEPs) relies on successful cleaning of the artifacts, which typically mask the early (0-30 ms) TEPs. Independent component analysis (ICA) is possibly the single most utilized methodology to clean these signals. ICA-based cleaning is reliable provided that the input data are composed of independent components. Differently, in case the underlying components are to some extent dependent, ICA algorithms may yield erroneous estimates of the components, resulting in incorrectly cleaned data. We aim to ascertain whether TEP signals are suited for ICA. We present a systematic analysis of how the properties of simulated artifacts imposed on measured artifact-free TEPs affect the ICA results. The variability of the artifact waveform over the recorded trials is varied from deterministic to stochastic. We measure the accuracy of ICA-based cleaning for each level of variability. Our findings indicate that, when the trial-to-trial variability of an artifact component is small, which can result in dependencies between underlying components, ICA-based cleaning biases towards eliminating also non-artifactual TEP data. We also show that the variability can be measured using the ICA-derived components, which in turn allows us to estimate the cleaning accuracy. As TEP artifacts tend to have small trial-to-trial variability, one should be aware of the possibility of eliminating brain-derived EEG when applying ICA-based cleaning strategies. In practice, after ICA, the artifact component variability can be measured, and it predicts to some extent the cleaning reliability, even when not knowing the clean ground-truth data.
State-dependent non-invasive brain stimulation (NIBS) informed by electroencephalography (EEG) has contributed to the understanding of NIBS inter-subject and inter-session variability. While these approaches focus on local EEG characteristics, it is acknowledged that the brain exhibits an intrinsic long-range dynamic organization in networks. This proof-of-concept study explores whether EEG connectivity of the primary motor cortex (M1) in the pre-stimulation period aligns with the Motor Network (MN) and how the MN state affects responses to the transcranial magnetic stimulation (TMS) of M1. One thousand suprathreshold TMS pulses were delivered to the left M1 in eight subjects at rest, with simultaneous EEG. Motor-evoked potentials (MEPs) were measured from the right hand. The source space functional connectivity of the left M1 to the whole brain was assessed using the imaginary part of the phase locking value at the frequency of the sensorimotor μ-rhythm in a 1 s window before the pulse. Group-level connectivity revealed functional links between the left M1, left supplementary motor area, and right M1. Also, pulses delivered at high MN connectivity states result in a greater MEP amplitude compared to low connectivity states. At the single-subject level, this relation is more highly expressed in subjects that feature an overall high cortico-spinal excitability. In conclusion, this study paves the way for MN connectivity-based NIBS.
Electroencephalogram (EEG) recorded as response to transcranial magnetic stimulation (TMS) can be highly informative of cortical reactivity and connectivity. Reliable EEG interpretation requires artifact removal as the TMS-evoked EEG can contain high-amplitude artifacts. Several methods have been proposed to uncover clean neuronal EEG responses. In practice, determining which method to select for different types of artifacts is often difficult. Here, we used a unified data cleaning framework based on beamforming to improve the algorithm selection and adaptation to the recorded signals. Beamforming properties are well understood, so they can be used to yield customized methods for EEG cleaning based on prior knowledge of the artifacts and the data. The beamforming implementations also cover, but are not limited to, the popular TMS–EEG cleaning methods: independent component analysis (ICA), signal-space projection (SSP), signal-space-projection-source-informed-reconstruction method (SSP–SIR), the source-estimate-utilizing noise-discarding algorithm (SOUND), data-driven Wiener filter (DDWiener), and the multiple-source approach. In addition to these established methods, beamforming provides a flexible way to derive novel artifact suppression algorithms by considering the properties of the recorded data. With simulated and measured TMS–EEG data, we show how to adapt the beamforming-based cleaning to different data and artifact types, namely TMS-evoked muscle artifacts, ocular artifacts, TMS-related peripheral responses, and channel noise. Importantly, beamforming implementations are fast to execute: We demonstrate how the SOUND algorithm becomes orders of magnitudes faster via beamforming. Overall, the beamforming-based spatial filtering framework can greatly enhance the selection, adaptability, and speed of EEG artifact removal.