F. Joseph Halcomb, III MD Department of Biomedical Engineering, University of Kentucky, Lexington, KY, USA.
Department of Biology, University of Kentucky, Lexington, KY, USA.
J Sleep Res. 2021 Aug;30(4):e13262. doi: 10.1111/jsr.13262. Epub 2021 Jan 6.
Subtle changes in sleep architecture can accompany and be symptomatic of many diseases or disorders. In order to probe and understand the complex interactions between sleep and health, the ability to model, track, and modulate sleep in preclinical animal models is vital. While various methods have been described for scoring experimental sleep recordings, few are designed to work in real time - a prerequisite for closed-loop sleep manipulation. In the present study, we have developed algorithms and software to classify sleep in real time and validated it on C57BL/6 mice (n = 8). Hidden Markov models of baseline sleep dynamics were fitted using an unsupervised algorithm to electroencephalogram (EEG) and electromyogram (EMG) data for each mouse, and were able to classify sleep in a manner highly concordant with manual scoring (Cohen's Kappa >75%) up to 3 weeks after model construction. This approach produced reasonably accurate estimates of common sleep metrics (proportion, mean duration, and number of bouts). After construction, the models were used to track sleep in real time and accomplish selective rapid eye movement (REM) sleep restriction by triggering non-invasive somatosensory stimulation. During REM restriction trials, REM bout duration was significantly reduced, and the classifier continued to perform satisfactorily despite the disrupted sleep patterns. The software can easily be tailored for use with other commercial or customised methods of sleep disruption (e.g. stir bar, optogenetic stimulation, etc.) and could serve as a robust platform to facilitate closed-loop experimentation. The source code and documentation are freely available upon request from the authors.
睡眠结构的细微变化可能伴随着许多疾病或障碍出现,并成为其症状。为了探究和了解睡眠与健康之间的复杂相互作用,在临床前动物模型中建模、跟踪和调节睡眠的能力至关重要。虽然已经描述了各种用于对实验性睡眠记录进行评分的方法,但很少有方法旨在实时工作——这是闭环睡眠操作的前提。在本研究中,我们开发了实时分类睡眠的算法和软件,并在 C57BL/6 小鼠(n=8)上进行了验证。使用无监督算法对每个小鼠的脑电图(EEG)和肌电图(EMG)数据进行基础睡眠动力学的隐马尔可夫模型拟合,该算法能够以与手动评分高度一致的方式(Cohen's Kappa >75%)对睡眠进行分类,直到模型构建后 3 周。这种方法产生了常见睡眠指标(比例、平均持续时间和睡眠片段数)的合理准确估计。模型构建后,该模型可用于实时跟踪睡眠,并通过触发非侵入性体感刺激来实现选择性快速眼动(REM)睡眠限制。在 REM 限制试验期间,REM 片段持续时间显著缩短,尽管睡眠模式受到干扰,分类器仍继续令人满意地工作。该软件可以轻松地针对其他商业或定制的睡眠干扰方法(例如搅拌棒、光遗传学刺激等)进行调整,并可以作为一个强大的平台,促进闭环实验。源代码和文档可根据作者的要求免费提供。