Package: hypnoR Title: Hypnogram Handling, Plotting, and Sleep Architecture Metrics Version: 0.1.1 Authors@R: c( person("Lucas", "França", email = "lucas.franca@northumbria.ac.uk", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-0853-1319")), person("Mario", "Leocadio-Miguel", email = "mario.miguel@northumbria.ac.uk", role = "aut", comment = c(ORCID = "0000-0002-7248-3529")) ) Description: Provides 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 with a shared Circadia Lab colour palette. Designed as the hypnogram layer of the Circadia Lab ecosystem, feeding into syncR::sync(). License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr Depends: R (>= 4.1.0) Imports: cli (>= 3.6.0), stats, tibble (>= 3.0.0), utils Suggests: covr, dplyr (>= 1.1.0), forcats (>= 1.0.0), ggplot2 (>= 3.4.0), knitr, lubridate (>= 1.9.0), mrpheus, pkgdown, rlang (>= 1.1.0), rmarkdown, testthat (>= 3.0.0), tidyr (>= 1.3.0), zeitR Additional_repositories: https://circadia-bio.r-universe.dev Config/testthat/edition: 3 URL: https://hypnor.circadia-lab.uk, https://github.com/circadia-bio/hypnoR BugReports: https://github.com/circadia-bio/hypnoR/issues Config/roxygen2/version: 8.0.0 Repository: https://circadia-bio.r-universe.dev Date/Publication: 2026-07-11 11:47:21 UTC RemoteUrl: https://github.com/circadia-bio/hypnoR RemoteRef: v0.1.1 RemoteSha: 3f2d3be85ae3f38a45e77bed9c7a67eea49f1897 NeedsCompilation: no Packaged: 2026-10-09 10:07:01 UTC; root Author: Lucas França [aut, cre] (ORCID: ), Mario Leocadio-Miguel [aut] (ORCID: ) Maintainer: Lucas França