<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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MEGAP: A Comprehensive Pipeline for Automatic Preprocessing of Large‐Scale Magnetoencephalography Data

Narjes Soltani Dehaghani, Seyyed Erfan Mohammadi, Hasti Shabani, Mohammad Mahdi Begmaz
Psychophysiology
Functional Brain Connectivity Studies
article

MEGAP: A Comprehensive Pipeline for Automatic Preprocessing of Large‐Scale Magnetoencephalography Data

Narjes Soltani Dehaghani, Seyyed Erfan Mohammadi, Hasti Shabani, Mohammad Mahdi Begmaz
article en

Abstract

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.

PsychophysiologyVol. 62(7)
Shahid Beheshti University (IR)
Openalex Percentile: Top 84%
Functional Brain Connectivity Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.