Journal of Visualized ExperimentsNeurosciencePeer-reviewed journal article
BrainBeats, an Open-Source EEGLAB Plugin to Jointly Analyze EEG and Cardiovascular Signals
Abstract
The interplay between the brain and the cardiovascular systems is garnering increased attention for its potential to advance our understanding of human physiology and improve health outcomes. However, the multimodal analysis of these signals is challenging due to the lack of guidelines, standardized signal processing and statistical tools, graphical user interfaces (GUIs), and automation for processing large datasets and increasing reproducibility. A further void exists in standardized quantitative EEG (qEEG) and heart-rate variability (HRV) feature extraction methods, undermining clinical diagnostics or the robustness of machine learning (ML) models. In response to these limitations, we introduce the BrainBeats toolbox. Implemented as an open-source EEGLAB plugin, BrainBeats integrates three main protocols: 1) Heartbeat-evoked potentials (HEP) and oscillations (HEO) for assessing time-locked brain-heart interplay at the millisecond accuracy; 2) qEEG and HRV feature extraction for examining associations/differences between various brain and heart metrics or for building robust feature-based ML models; 3) Automated extraction of heart artifacts from EEG signals to remove any potential cardiovascular contamination while conducting EEG analysis. We provide a step-by-step tutorial for performing these three methods on an open-source dataset containing simultaneous 64-channel EEG, ECG, and PPG signals. Users can easily fine-tune parameters to tailor their unique research needs via the graphical user interface (GUI) or the command line. BrainBeats should make brain-heart interplay research more accessible and reproducible. SUMMARYThe BrainBeats toolbox is an open-source EEGLAB plugin designed to jointly analyze EEG and cardiovascular (ECG/PPG) signals. It offers three main protocols: heartbeat-evoked potentials (HEP) assessment, feature-based analysis, and heart artifact extraction from EEG signals. It should aid researchers and clinicians in studying brain-heart interplay through two lenses (HEP and features), enhancing reproducibility and accessibility.
- organism: human
- assay: electronic health records
- research focus: benchmarking
- approach: statistical model
- Citations
- 13
- FWCI
- 3.30
- Field percentile
- top 7%
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
- EEG-Beats: Automated analysis of heart rate variability (HVR) from EEG-EKG
Supakjeera Thanapaisal, Sabrina Mosher, … Kay A. Robbins·bioRxiv·Jul 21, 2020
- M-ECG: Extracting Heart Signals with a Novel Computational Analysis of Magnetoencephalography Data
Aqil Izadysadr, Hamideh Sadat Bagherzadeh, … Dwayne W. Godwin·Frontiers in NeuroimagingPeer-reviewed·Jan 9, 2026
- Get rid of the beat in mobile EEG applications: A framework towards automated cardiogenic artifact detection and removal in single-channel EEG
Neng-Tai Chiu, Stephanie Huwiler, … Caroline Lustenberger·Biomedical Signal Processing and ControlPeer-reviewed·Nov 1, 2021
- Heartbeat-evoked responses in M/EEG: A systematic review of methods with suggestions for analysis and reporting
Tim Paul Steinfath, Maria Azanova, … Arno Villringer·PsychophysiologyPeer-reviewed·Apr 1, 2026
- Methodological approaches to derive the heartbeat-evoked potential: pastpractices and future recommendations
Rania-Iman Virjee, Rohan Kandasamy, … Mahinda Yogarajah·Social Cognitive and Affective NeurosciencePeer-reviewed·Jan 1, 2026
- EegFun.jl: A Julia Package Tutorial for EEG Analysis
Carolin Dudschig, Samuel Sonntag, Ian Grant Mackenzie·bioRxiv·Aug 12, 2026