<scp>MEGAP</scp>: A Comprehensive Pipeline for Automatic Preprocessing of Large‐Scale Magnetoencephalography Data
Magnetoencephalography (MEG) data are often contaminated by various noise and artifacts, necessitating meticulous preprocessing. However, no pipeline has comprehensively examined all aspects of the different types of MEG noise, nor has any automatic preprocessing pipeline ever been presented. The impracticality of performing visual inspections for the preprocessing of large-scale resting state datasets, combined with the absence of automation, hinders the ability to take advantage of such datasets, including increased generalizability. Additionally, the absence of a standardized sequence for MEG preprocessing steps affects the reproducibility of research studies. Our MEG Automatic Pipeline (MEGAP) can automatically reduce noise and artifacts and is the first pipeline that can be used to preprocess large-scale resting state MEG datasets. We developed this pipeline by integrating and sequencing recent algorithms for each preprocessing step, ensuring automated execution, standardization, and organized outputs. The key features of MEGAP include correcting head movements, removing line noise without applying a notch filter, annotating muscle artifacts, removing sensor and environmental noise, and automatically detecting artifact components in Independent Component Analysis (ICA). We validated our pipeline using simulated and experimental data from the Cambridge Centre for Aging and Neuroscience (Cam-CAN) dataset. Substantial improvements were achieved based on different evaluation criteria such as Normalized Mean Square Error (NMSE), correlation, and Signal to Noise Ratio (SNR). MEGAP provides a robust framework for MEG data preprocessing, significantly reducing the manual effort in preprocessing by automating the required steps, contributing to more consistent and reproducible neuroimaging research outcomes, and facilitating the analysis of large-scale MEG studies.
Authors
- Narjes Soltani Dehaghani (ORCID: https://orcid.org/0000-0001-6792-3780)
- Seyyed Erfan Mohammadi (ORCID: https://orcid.org/0009-0004-0145-0537)
- Hasti Shabani (ORCID: https://orcid.org/0000-0002-1573-1485)
- Mohammad Mahdi Begmaz
Institutions
- Shahid Beheshti University (IR)
Publication Details
- Journal
- Psychophysiology
- Published
- 2025-07-01
- DOI
- https://doi.org/10.1111/psyp.70109
- Primary Topic
- Functional Brain Connectivity Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00