1
|
Yamada RG, Matsuzawa K, Ode KL, Ueda HR. An automated sleep staging tool based on simple statistical features of mice electroencephalography (EEG) and electromyography (EMG) data. Eur J Neurosci 2024. [PMID: 39072800 DOI: 10.1111/ejn.16465] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/29/2024] [Revised: 06/04/2024] [Accepted: 07/01/2024] [Indexed: 07/30/2024]
Abstract
Electroencephalogram (EEG) and electromyogram (EMG) are fundamental tools in sleep research. However, investigations into the statistical properties of rodent EEG/EMG signals in the sleep-wake cycle have been limited. The lack of standard criteria in defining sleep stages forces researchers to rely on human expertise to inspect EEG/EMG. The recent increasing demand for analysing large-scale and long-term data has been overwhelming the capabilities of human experts. In this study, we explored the statistical features of EEG signals in the sleep-wake cycle. We found that the normalized EEG power density profile changes its lower and higher frequency powers to a comparable degree in the opposite direction, pivoting around 20-30 Hz between the NREM sleep and the active brain state. We also found that REM sleep has a normalized EEG power density profile that overlaps with wakefulness and a characteristic reduction in the EMG signal. Based on these observations, we proposed three simple statistical features that could span a 3D space. Each sleep-wake stage formed a separate cluster close to a normal distribution in the 3D space. Notably, the suggested features are a natural extension of the conventional definition, making it useful for experts to intuitively interpret the EEG/EMG signal alterations caused by genetic mutations or experimental treatments. In addition, we developed an unsupervised automatic staging algorithm based on these features. The developed algorithm is a valuable tool for expediting the quantitative evaluation of EEG/EMG signals so that researchers can utilize the recent high-throughput genetic or pharmacological methods for sleep research.
Collapse
Affiliation(s)
- Rikuhiro G Yamada
- Laboratory for Synthetic Biology, RIKEN Center for Biosystems Dynamics Research, Osaka, Japan
- Department of Systems Biology, Institute of Life Science, Kurume University, Fukuoka, Japan
| | - Kyoko Matsuzawa
- Laboratory for Synthetic Biology, RIKEN Center for Biosystems Dynamics Research, Osaka, Japan
| | - Koji L Ode
- Department of Systems Pharmacology, Graduate School of Medicine, The University of Tokyo, Tokyo, Japan
| | - Hiroki R Ueda
- Laboratory for Synthetic Biology, RIKEN Center for Biosystems Dynamics Research, Osaka, Japan
- Department of Systems Biology, Institute of Life Science, Kurume University, Fukuoka, Japan
- Department of Systems Pharmacology, Graduate School of Medicine, The University of Tokyo, Tokyo, Japan
| |
Collapse
|
2
|
Fraigne JJ, Wang J, Lee H, Luke R, Pintwala SK, Peever JH. A novel machine learning system for identifying sleep-wake states in mice. Sleep 2023; 46:zsad101. [PMID: 37021715 PMCID: PMC10262194 DOI: 10.1093/sleep/zsad101] [Citation(s) in RCA: 2] [Impact Index Per Article: 2.0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/12/2022] [Revised: 03/23/2023] [Indexed: 04/07/2023] Open
Abstract
Research into sleep-wake behaviors relies on scoring sleep states, normally done by manual inspection of electroencephalogram (EEG) and electromyogram (EMG) recordings. This is a highly time-consuming process prone to inter-rater variability. When studying relationships between sleep and motor function, analyzing arousal states under a four-state system of active wake (AW), quiet wake (QW), nonrapid-eye-movement (NREM) sleep, and rapid-eye-movement (REM) sleep provides greater precision in behavioral analysis but is a more complex model for classification than the traditional three-state identification (wake, NREM, and REM sleep) usually used in rodent models. Characteristic features between sleep-wake states provide potential for the use of machine learning to automate classification. Here, we devised SleepEns, which uses a novel ensemble architecture, the time-series ensemble. SleepEns achieved 90% accuracy to the source expert, which was statistically similar to the performance of two other human experts. Considering the capacity for classification disagreements that are still physiologically reasonable, SleepEns had an acceptable performance of 99% accuracy, as determined blindly by the source expert. Classifications given by SleepEns also maintained similar sleep-wake characteristics compared to expert classifications, some of which were essential for sleep-wake identification. Hence, our approach achieves results comparable to human ability in a fraction of the time. This new machine-learning ensemble will significantly impact the ability of sleep researcher to detect and study sleep-wake behaviors in mice and potentially in humans.
Collapse
Affiliation(s)
- Jimmy J Fraigne
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
| | - Jeffrey Wang
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
| | - Hanhee Lee
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
| | - Russell Luke
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
| | - Sara K Pintwala
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
| | - John H Peever
- Department of Cell & Systems Biology, University of Toronto, Toronto, ON, Canada
- Department of Physiology, University of Toronto, Toronto, ON, Canada
| |
Collapse
|
3
|
Thankachan S, Gerashchenko A, Kastanenka KV, Bacskai BJ, Gerashchenko D. Optimization of real-time analysis of sleep-wake cycle in mice. MethodsX 2022; 9:101811. [PMID: 36065218 PMCID: PMC9440422 DOI: 10.1016/j.mex.2022.101811] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 03/25/2022] [Accepted: 07/13/2022] [Indexed: 11/16/2022] Open
Abstract
Studying the biology of sleep requires accurate and efficient assessment of the sleep stages. However, analysis of sleep-wake cycles in mice and other laboratory animals remains a time-consuming and laborious process. In this study, we developed a Python script and a process for the streamlined analysis of sleep data that includes real-time processing of electroencephalogram (EEG) and electromyogram (EMG) signals that is compatible with commercial sleep-recording software that supports user datagram protocol (UDP) communication. The process consists of EEG/EMG data acquisition, automated threshold calculation for real-time determination of sleep stages, sleep staging and EEG power spectrum analysis. It also allows data storage in the format that facilitates further analysis of the sleep pattern in mice. The described method is aimed at increasing efficiency of sleep stage scoring and analysis in mice thus facilitating sleep research. • A process of EEG/EMG recording and streamline analysis of sleep-wake cycle in real time in mice. • The compatibility with commercial sleep-recording software that can generate a UDP stream. • The capability of further analysis of recorded data by an open-source software.
Collapse
Affiliation(s)
- Stephen Thankachan
- Harvard Medical School / Veterans Affairs Boston Healthcare System, West Roxbury, MA 02132, USA
| | | | - Ksenia V Kastanenka
- Department of Neurology, MassGeneral Institute of Neurodegenerative Diseases, Massachusetts General Hospital and Harvard Medical School, Charlestown, MA 02129, USA
| | - Brian J Bacskai
- Department of Neurology, MassGeneral Institute of Neurodegenerative Diseases, Massachusetts General Hospital and Harvard Medical School, Charlestown, MA 02129, USA
| | - Dmitry Gerashchenko
- Harvard Medical School / Veterans Affairs Boston Healthcare System, West Roxbury, MA 02132, USA
| |
Collapse
|
4
|
Fabietti M, Mahmud M, Lotfi A. Channel-independent recreation of artefactual signals in chronically recorded local field potentials using machine learning. Brain Inform 2022; 9:1. [PMID: 34997378 PMCID: PMC8741911 DOI: 10.1186/s40708-021-00149-x] [Citation(s) in RCA: 3] [Impact Index Per Article: 1.5] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/10/2021] [Accepted: 12/23/2021] [Indexed: 11/13/2022] Open
Abstract
Acquisition of neuronal signals involves a wide range of devices with specific electrical properties. Combined with other physiological sources within the body, the signals sensed by the devices are often distorted. Sometimes these distortions are visually identifiable, other times, they overlay with the signal characteristics making them very difficult to detect. To remove these distortions, the recordings are visually inspected and manually processed. However, this manual annotation process is time-consuming and automatic computational methods are needed to identify and remove these artefacts. Most of the existing artefact removal approaches rely on additional information from other recorded channels and fail when global artefacts are present or the affected channels constitute the majority of the recording system. Addressing this issue, this paper reports a novel channel-independent machine learning model to accurately identify and replace the artefactual segments present in the signals. Discarding these artifactual segments by the existing approaches causes discontinuities in the reproduced signals which may introduce errors in subsequent analyses. To avoid this, the proposed method predicts multiple values of the artefactual region using long–short term memory network to recreate the temporal and spectral properties of the recorded signal. The method has been tested on two open-access data sets and incorporated into the open-access SANTIA (SigMate Advanced: a Novel Tool for Identification of Artefacts in Neuronal Signals) toolbox for community use.
Collapse
Affiliation(s)
- Marcos Fabietti
- Department of Computer Science, Nottingham Trent University, Clifton Lane, NG11 8NS, Nottingham, UK
| | - Mufti Mahmud
- Department of Computer Science, Nottingham Trent University, Clifton Lane, NG11 8NS, Nottingham, UK. .,Medical Technologies Innovation Facility, Nottingham Trent University, Clifton Lane, NG11 8NS, Nottingham, UK. .,Computing and Informatics Research Centre, Nottingham Trent University, Clifton Lane, NG11 8NS, Nottingham, UK.
| | - Ahmad Lotfi
- Department of Computer Science, Nottingham Trent University, Clifton Lane, NG11 8NS, Nottingham, UK
| |
Collapse
|
5
|
Smith A, Anand H, Milosavljevic S, Rentschler KM, Pocivavsek A, Valafar H. Application of Machine Learning to Sleep Stage Classification. PROCEEDINGS. INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE 2021; 2021:349-354. [PMID: 36313065 PMCID: PMC9597665 DOI: 10.1109/csci54926.2021.00130] [Citation(s) in RCA: 4] [Impact Index Per Article: 1.3] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Indexed: 06/16/2023]
Abstract
Sleep studies are imperative to recapitulate phenotypes associated with sleep loss and uncover mechanisms contributing to psychopathology. Most often, investigators manually classify the polysomnography into vigilance states, which is time-consuming, requires extensive training, and is prone to inter-scorer variability. While many works have successfully developed automated vigilance state classifiers based on multiple EEG channels, we aim to produce an automated and openaccess classifier that can reliably predict vigilance state based on a single cortical electroencephalogram (EEG) from rodents to minimize the disadvantages that accompany tethering small animals via wires to computer programs. Approximately 427 hours of continuously monitored EEG, electromyogram (EMG), and activity were labeled by a domain expert out of 571 hours of total data. Here we evaluate the performance of various machine learning techniques on classifying 10-second epochs into one of three discrete classes: paradoxical, slow-wave, or wake. Our investigations include Decision Trees, Random Forests, Naive Bayes Classifiers, Logistic Regression Classifiers, and Artificial Neural Networks. These methodologies have achieved accuracies ranging from approximately 74% to approximately 96%. Most notably, the Random Forest and the ANN achieved remarkable accuracies of 95.78% and 93.31%, respectively. Here we have shown the potential of various machine learning classifiers to automatically, accurately, and reliably classify vigilance states based on a single EEG reading and a single EMG reading.
Collapse
Affiliation(s)
- Andrew Smith
- Department of Computer Science and Engineering (University of South Carolina), Columbia, SC 29208 USA
| | - Hardik Anand
- Department of Computer Science and Engineering (University of South Carolina), Columbia, SC 29208 USA
| | - Snezana Milosavljevic
- Department of Pharmacology, Physiology, and Neuroscience University of South Carolina School of Medicine, Columbia, SC 29208 USA
| | - Katherine M Rentschler
- Department of Pharmacology, Physiology, and Neuroscience University of South Carolina School of Medicine, Columbia, SC 29208 USA
| | - Ana Pocivavsek
- Department of Pharmacology, Physiology, and Neuroscience University of South Carolina School of Medicine, Columbia, SC 29208 USA
| | - Homayoun Valafar
- Department of Computer Science and Engineering (University of South Carolina), Columbia, SC 29208 USA
| |
Collapse
|