Abstract
Combining transcranial magnetic stimulation (TMS) with electroencephalography (EEG) is growing in popularity as a method for probing the reactivity and connectivity of neural circuits in basic and clinical research. However, using EEG to measure the neural responses to TMS is challenging due to the unique artifacts introduced by combining the two techniques. In this paper, we overview the artifacts present in TMS-EEG data and the offline cleaning methods used to suppress these unwanted signals. We then describe how open science practices, including the development of open-source toolboxes designed for TMS-EEG analysis (e.g., TESA - the TMS-EEG signal analyser), have improved the availability and reproducibility of TMS-EEG cleaning methods. We provide theoretical and practical considerations for designing TMS-EEG cleaning pipelines and then give an example of how to compare different pipelines using TESA. We show that changing even a single step in a pipeline designed to suppress decay artifacts results in TMS-evoked potentials (TEPs) with small differences in amplitude and spatial topography. The variability in TEPs resulting from the choice of cleaning pipeline has important implications for comparing TMS-EEG findings between research groups which use different online and offline approaches. Finally, we discuss the challenges of validating cleaning pipelines and recommend that researchers compare outcomes from TMS-EEG experiments using multiple pipelines to ensure findings are not related to the choice of cleaning methods. We conclude that the continued improvement, availability, and validation of cleaning pipelines is essential to ensure TMS-EEG reaches its full potential as a method for studying human neurophysiology.
Highlights
Concurrent TMS-EEG is challenging due to artifacts in the recorded signals.
We overview offline methods for cleaning TEPs and provide tips on pipeline design.
We use TESA to compare pipelines and show changing a single step alters TEPs.
We discuss the challenges in validating pipelines for TMS-EEG analysis.
We suggest using multiple pipelines to minimise the impact of method choice on TEPs.
Competing Interest Statement
The authors have declared no competing interest.
Footnotes
This version has been updated to include a new analysis and figure comparing pipelines with different methods for dealing with noisy channels and clarifying other wording within the text.