- Mariani, Sara;
- Tarokh, Leila;
- Djonlagic, Ina;
- Cade, Brian E;
- Morrical, Michael G;
- Yaffe, Kristine;
- Stone, Katie L;
- Loparo, Kenneth A;
- Purcell, Shaun M;
- Redline, Susan;
- Aeschbach, Daniel
Study objectives
We present an automated sleep electroencephalogram (EEG) spectral analysis pipeline that includes an automated artifact detection step, and we test the hypothesis that spectral power density estimates computed with this pipeline are comparable to those computed with a commercial method preceded by visual artifact detection by a sleep expert (standard approach).Methods
EEG data were analyzed from the C3-A2 lead in a sample of polysomnograms from 161 older women participants in a community-based cohort study. We calculated the sensitivity, specificity, accuracy, and Cohen's kappa measures from epoch-by-epoch comparisons of automated to visual-based artifact detection results; then we computed the average EEG spectral power densities in six commonly used EEG frequency bands and compared results from the two methods using correlation analysis and Bland-Altman plots.Results
Assessment of automated artifact detection showed high specificity [96.8%-99.4% in non-rapid eye movement (NREM), 96.9%-99.1% in rapid eye movement (REM) sleep] but low sensitivity (26.7%-38.1% in NREM, 9.1-27.4% in REM sleep). However, large artifacts (total power > 99th percentile) were removed with sensitivity up to 87.7% in NREM and 90.9% in REM, with specificities of 96.9% and 96.6%, respectively. Mean power densities computed with the two approaches for all EEG frequency bands showed very high correlation (≥0.99). The automated pipeline allowed for a 100-fold reduction in analysis time with regard to the standard approach.Conclusion
Despite low sensitivity for artifact rejection, the automated pipeline generated results comparable to those obtained with a standard method that included manual artifact detection. Automated pipelines can enable practical analyses of recordings from thousands of individuals, allowing for use in genetics and epidemiological research requiring large samples.