$$\rightleftharpoonup{xx}$$
$$\longleftharp{xx}$$,
$$\longrightharp{xx}$$,
The rhythmic activity of the heart is increasingly recognized not only as a vital homeostatic process but as a fundamental modulator of brain function and cognition1. A growing body of evidence demonstrates that cardiac signals exert a continuous influence on a wide spectrum of neurocognitive processes, including perception, attention, emotional regulation, and consciousness2,3. This heart-brain axis is mediated by afferent interoceptive signals from cardiovascular baroreceptors and mechanoreceptors, which project via the brainstem to cortical areas where they integrate with exteroceptive sensory information4,5. Consequently, the brain does not process external stimuli passively, but does so within the context of the body's internal state, a key indicator of which is the phase of the cardiac cycle.
The central methodological challenge is to reveal how cardiogenic neural activity influences the processing of external stimuli, as measured by visual ERPs. The most prominent electrophysiological manifestation of this interplay is the heartbeat-evoked potential (HEP), a specific pattern of EEG activity that is time-locked to the cardiac contraction6. The HEP is considered a neural marker of interoceptive attention, reflecting the brain's predictive coding of the impending heartbeat and its consequences for sensory processing7,8. According to contemporary models, the brain utilizes these cardiac signals to create a unified representation of the body's internal state within its external context9,10. Empirical evidence indicates that the processing of external stimuli, including their perceptual salience and underlying neural correlates, varies significantly depending on whether they are presented during cardiac systole or diastole11,12,13. Stimuli presented during systole (the contraction phase) are consistently associated with suppressed neural processing, evidenced by reduced ERP amplitudes and altered behavioral responses, compared to those presented during diastole (the relaxation phase)14,15,16. This effect is explained by the "somatosensory gating" hypothesis, which posits that the brain suppresses exteroceptive signal processing to temporarily prioritize cardiac interoceptive signals during systole15,17.
Despite growing interest in the heart-brain axis, standard ERP analysis protocols focus exclusively on external stimuli, segmenting epochs relative to stimulus onset and thereby ignoring the profound trial-by-trial variability introduced by the ongoing cardiac cycle. To accurately capture cardiac-cycle modulation of visual ERPs, a fundamentally different approach is required. This necessitates the precise alignment of stimulus presentation with specific cardiac phases, verified by simultaneous ECG recording18. The current literature lacks standardized, detailed, and easily reproducible protocols that comprehensively describe all processing stages, from raw data acquisition to statistical analysis, accounting for cardiac phases.
An additional methodological challenge arises with the rapid adoption of immersive technologies like VR in neuroscience. VR environments provide highly immersive and engaging contexts, enabling the creation of controlled yet realistic experimental settings19,20 . However, the simultaneous acquisition of high-quality EEG and ECG data within a VR environment is associated with several technical difficulties. These include potential motion artifacts, electromagnetic interference from the headset, and the critical need for precise temporal synchronization between stimulus presentation (often with inherent latency), data acquisition, and motion tracking systems21. These technical challenges have contributed to a scarcity of robust analysis protocols specifically designed for direct comparison of cardio-dependent neural modulation between classical 2D and immersive VR paradigms. This lack of a common framework ultimately hinders research into how immersion and presence modulate fundamental brain-body interaction mechanisms.
To address these challenges, this work presents a comprehensive, step-by-step methodological protocol for investigating cardiac-cycle modulation of visual ERPs by integrating simultaneous EEG and ECG recordings. The cornerstone of the approach is the segmentation of neural data relative to the cardiac R-peak, allowing for the classification of stimuli based on their occurrence during systole or diastole. Crucially, a data-driven analysis of the entire post-stimulus epoch is employed to identify specific time windows where cardiac phase exerts a significant modulatory influence on the neural response. The primary contributions of this work are threefold: (1) a complete, visualized protocol designed for straightforward replication is provided, (2) the protocol is adapted and validated to compare data acquired using a standard 2D monitor and an immersive VR headset, and (3) the utility of the protocol is demonstrated by revealing how facial stimuli of emotional valence differentially modulate cardiac influence on neural processing depending on the immersiveness of the environment.