‘SleepCycles’ package for R - A free software tool for the detection of sleep cycles from sleep staging

Autor: Christine Blume, Christian Cajochen
Jazyk: angličtina
Rok vydání: 2021
Předmět:
Zdroj: MethodsX, Vol 8, Iss , Pp 101318- (2021)
Druh dokumentu: article
ISSN: 2215-0161
DOI: 10.1016/j.mex.2021.101318
Popis: The detection of NREM-REM sleep cycles in human sleep data (i.e., polysomnographically assessed sleep stages) enables fine-grained analyses of ultradian variations in sleep microstructure (e.g., sleep spindles, and arousals), or other amplitude- and frequency-specific electroencephalographic features during sleep. While many laboratories have software that is used internally, reproducibility requires the availability of open-source software. Therefore, we here introduce the ‘SleepCycles’ package for R, an open-source software package that identifies sleep cycles and their respective (non-) rapid eye movement ([N]REM) periods from sleep staging data. Additionally, each (N)REM period is subdivided into parts of equal duration (percentiles), which may be useful for further fine-grained analyses. The detection criteria used in the package are, with some adaptations, largely based on criteria originally proposed by Feinberg and Floyd (1979). The latest version of the package can be downloaded from the Comprehensive R Archives Network (CRAN). • The package ‘SleepCycles’ for R allows to identify sleep cycles and their respective NREM and REM periods from sleep staging results. • Besides the cycle detection, NREM and REM periods are also split into parts of equal duration (percentiles) thereby allowing for a better temporal resolution across the night and comparisons of sleep cycles with different durations amongst different night recordings.
Databáze: Directory of Open Access Journals