Journal of Neuroscience MethodsNeurosciencePeer-reviewed journal article
Designing and comparing cleaning pipelines for TMS-EEG data: a theoretical overview and practical example
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. HighlightsO_LIConcurrent TMS-EEG is challenging due to artifacts in the recorded signals. C_LIO_LIWe overview offline methods for cleaning TEPs and provide tips on pipeline design. C_LIO_LIWe use TESA to compare pipelines and show changing a single step alters TEPs. C_LIO_LIWe discuss the challenges in validating pipelines for TMS-EEG analysis. C_LIO_LIWe suggest using multiple pipelines to minimise the impact of method choice on TEPs. C_LI
- Citations
- 52
- FWCI
- 3.78
- Field percentile
- top 5%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The impact of artifact removal approaches on TMS-EEG signal
Giacomo Bertazzoli, Romina Esposito, … Marta Bortoletto·NeuroImagePeer-reviewed·Jun 16, 2021
- A Practical Preprocessing Pipeline for Concurrent TMS-iEEG: Critical Steps and Methodological Considerations
Zhuoran Li, Xianqing Liu, … Jing Jiang·NeuroImagePeer-reviewed·Dec 24, 2025
- Characterising and Minimising Step and Filtering Artifacts in TMS-EEG Recordings
Marissa M. Holden, Mitchell R. Goldsworthy, … Nigel C. Rogasch·bioRxiv·May 18, 2026
- Recognizing EEG responses to active TMS vs. sham stimulations in different TMS-EEG datasets: a machine learning approach
Ahmadreza Keihani, Francesco Luciano Donati, … Fabio Ferrarelli·NeuroImagePeer-reviewed·Feb 12, 2026
- The effect of EEG lead configuration on early TMS-EEG artifacts
Kaisu Lankinen, Gabriel Fadel, … Tommi Raij·bioRxiv·Feb 12, 2026
- The rt-TEP tool: real-time visualization of TMS-Evoked Potential to maximize cortical activation and minimize artifacts
Silvia Casarotto, Matteo Fecchio, … Marcello Massimini·Journal of Neuroscience MethodsPeer-reviewed·Jan 21, 2022