1
|
Shi J, Gong X, Song Z, Xie W, Yang Y, Sun X, Wei P, Wang C, Zhao G. EPAT: a user-friendly MATLAB toolbox for EEG/ERP data processing and analysis. Front Neuroinform 2024; 18:1384250. [PMID: 38812743 PMCID: PMC11133744 DOI: 10.3389/fninf.2024.1384250] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 02/09/2024] [Accepted: 04/18/2024] [Indexed: 05/31/2024] Open
Abstract
Background At the intersection of neural monitoring and decoding, event-related potential (ERP) based on electroencephalography (EEG) has opened a window into intrinsic brain function. The stability of ERP makes it frequently employed in the field of neuroscience. However, project-specific custom code, tracking of user-defined parameters, and the large diversity of commercial tools have limited clinical application. Methods We introduce an open-source, user-friendly, and reproducible MATLAB toolbox named EPAT that includes a variety of algorithms for EEG data preprocessing. It provides EEGLAB-based template pipelines for advanced multi-processing of EEG, magnetoencephalography, and polysomnogram data. Participants evaluated EEGLAB and EPAT across 14 indicators, with satisfaction ratings analyzed using the Wilcoxon signed-rank test or paired t-test based on distribution normality. Results EPAT eases EEG signal browsing and preprocessing, EEG power spectrum analysis, independent component analysis, time-frequency analysis, ERP waveform drawing, and topological analysis of scalp voltage. A user-friendly graphical user interface allows clinicians and researchers with no programming background to use EPAT. Conclusion This article describes the architecture, functionalities, and workflow of the toolbox. The release of EPAT will help advance EEG methodology and its application to clinical translational studies.
Collapse
Affiliation(s)
- Jianwei Shi
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Xun Gong
- School of Psychology and Mental Health, North China University of Science and Technology, Tangshan, China
| | - Ziang Song
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Wenkai Xie
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Yanfeng Yang
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Xiangjie Sun
- School of Psychology and Mental Health, North China University of Science and Technology, Tangshan, China
| | - Penghu Wei
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Changming Wang
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| | - Guoguang Zhao
- Department of Neurosurgery, Xuanwu Hospital, Capital Medical University, Beijing, China
- China International Neuroscience Institute, Beijing, China
| |
Collapse
|
2
|
Miyakoshi M, Kim H, Nakanishi M, Palmer J, Kanayama N. One out of ten independent components shows flipped polarity with poorer data quality: EEG database study. Hum Brain Mapp 2024; 45:e26540. [PMID: 38069570 PMCID: PMC10789196 DOI: 10.1002/hbm.26540] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 07/06/2023] [Revised: 10/30/2023] [Accepted: 11/07/2023] [Indexed: 01/16/2024] Open
Abstract
Independent component analysis (ICA) is widely used today for scalp-recorded EEG analysis. One of the limitations of ICA-based analysis is polarity indeterminacy. It is not easy to find detailed documentations that explains engineering solutions of how the polarity indeterminacy is addressed in a given implementation. We investigated how it is implemented in the case of EEGLAB and also the relation between the outcome of the polarity determination and classification of independent components (ICs) in terms of the estimated nature of the sources (brain, muscle, eye, etc.) using an open database of n = 212 EEG dataset of resting state recordings. We found that (1) about 91% of ICs showed positive-dominant IC scalp topographies; (2) positive-dominant ICs were more associated with brain-originated signals; (3) positive-dominant ICs showed more radial (peaked at 10-30 degrees deviations from the radial axis) dipolar projection pattern with less residual variance from fitting the equivalent current dipole. In conclusion, using the EEGLAB's default ICA algorithm, one out of 10 ICs results in flipping its polarity to negative, which is associated with non-radial dipole orientation with higher residual variance. Thus, we determined EEGLAB biases toward positive polarity in decomposing high-quality brain ICs.
Collapse
Affiliation(s)
- Makoto Miyakoshi
- Division of Child and Adolescent PsychiatryCincinnati Children's Hospital Medical CenterCincinnatiOhioUSA
- Department of MedicineUniversity of Cincinnati College of MedicineCincinnatiOhioUSA
- Swartz Center for Computational NeuroscienceInstitute for Neural Computation, University of California San DiegoLa JollaCaliforniaUSA
| | - Hyeonseok Kim
- Swartz Center for Computational NeuroscienceInstitute for Neural Computation, University of California San DiegoLa JollaCaliforniaUSA
| | - Masaki Nakanishi
- Swartz Center for Computational NeuroscienceInstitute for Neural Computation, University of California San DiegoLa JollaCaliforniaUSA
| | - Jason Palmer
- School of Mathematical and Data SciencesWest Virginia UniversityMorgantownWest VirginiaUSA
| | - Noriaki Kanayama
- Human Informatics and Interaction Research Institute, National Institute of Advanced Industrial Science and Technology (AIST)TokyoJapan
- Center for Brain, Mind and KANSEI Sciences ResearchHiroshima UniversityTokyoJapan
| |
Collapse
|