hypnoR: Hypnogram Handling, Plotting, and Sleep Architecture Metrics
Source:R/hypnoR-package.R
hypnoR-package.RdProvides a staging-agnostic layer for hypnogram ingestion, sleep architecture metric computation, cycle segmentation, and transition analysis. Accepts full AASM-staged hypnograms (W / N1 / N2 / N3 / REM) from mrpheus and coarser actigraphy-derived hypnograms (W / Sleep / Quiet sleep) from zeitR; all metric functions degrade gracefully depending on staging resolution. Includes publication-ready plotting via theme_circadia(). Designed as the hypnogram layer of the Circadia Lab ecosystem, feeding into syncR::sync().
Author
Maintainer: Lucas França lucas.franca@northumbria.ac.uk (ORCID)
Authors:
Lucas França lucas.franca@northumbria.ac.uk (ORCID)
Mario Leocadio-Miguel mario.miguel@northumbria.ac.uk (ORCID)