{
  "_id": "6a45a9de6ff6f235755305e0",
  "Package": "mrpheus",
  "Title": "Polysomnography Signal Analysis for Sleep Research",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Lucas\", \"França\",\nemail = \"lucas.franca@northumbria.ac.uk\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Mario\", \"Leocadio-Miguel\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7248-3529\"))\n)",
  "Description": "Raw polysomnography (PSG) signal analysis for sleep and\ncircadian research. Provides EDF/EDF+ ingestion, artefact\ndetection, spectral analysis, sleep event detection (spindles,\nslow oscillations), automatic AASM sleep staging via a\npre-trained LightGBM model (ported from YASA; Vallat & Walker,\n2021), and respiratory and cardiac metrics. Exports staged\nhypnograms directly to hypnor and PSG-derived metrics to syncR.\nPart of the Circadia Lab R ecosystem.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://mrpheus.circadia-lab.uk,\nhttps://github.com/circadia-bio/mrpheus",
  "BugReports": "https://github.com/circadia-bio/mrpheus/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://circadia-bio.r-universe.dev",
  "Date/Publication": "2026-06-29 05:21:25 UTC",
  "RemoteUrl": "https://github.com/circadia-bio/mrpheus",
  "RemoteRef": "main",
  "RemoteSha": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 23:56:12 UTC",
    "User": "root"
  },
  "Author": "Lucas França [aut, cre],\nMario Leocadio-Miguel [aut] (ORCID:\n<https://orcid.org/0000-0002-7248-3529>)",
  "Maintainer": "Lucas França <lucas.franca@northumbria.ac.uk>",
  "MD5sum": "4b8e09c26f6378ceebf6055317572a43",
  "_user": "circadia-bio",
  "_type": "src",
  "_file": "mrpheus_0.1.0.tar.gz",
  "_fileid": "be2c2fccf4347ea29b8fd5f9828e02c5a22efe3fda24db8ad8bf5a9ee073c4e7",
  "_filesize": 196531,
  "_sha256": "be2c2fccf4347ea29b8fd5f9828e02c5a22efe3fda24db8ad8bf5a9ee073c4e7",
  "_created": "2026-07-01T23:56:12.000Z",
  "_published": "2026-07-01T23:59:26.548Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84662524864,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8025547255"
    },
    {
      "job": 84662524863,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8025548852"
    },
    {
      "job": 84662524867,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8025542346"
    },
    {
      "job": 84662524879,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8025542004"
    },
    {
      "job": 84662180737,
      "time": 172,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8025513232"
    },
    {
      "job": 84662524861,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8025549636"
    },
    {
      "job": 84662524878,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8025530292"
    },
    {
      "job": 84662524865,
      "time": 76,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8025531247"
    },
    {
      "job": 84662524868,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8025535304"
    }
  ],
  "_buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/circadia-bio/mrpheus",
  "_commit": {
    "id": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
    "author": "Lucas França <lucas.franca@northumbria.ac.uk>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1782710485
  },
  "_maintainer": {
    "name": "Lucas França",
    "email": "lucas.franca@northumbria.ac.uk",
    "login": "lucasfr",
    "description": "Immigrant, physicist, neuroscientist, open source and data science enthusiast.",
    "uuid": 502265
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "edfReader",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "gsignal",
      "version": ">= 0.3.5",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "version": ">= 2.4.2",
      "role": "Imports"
    },
    {
      "package": "lightgbm",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "circadia-bio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 15
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucasfr",
      "count": 16,
      "uuid": 502265
    }
  ],
  "_userbio": {
    "uuid": 202348599,
    "type": "organization",
    "name": "Circadia Lab",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mrpheus"
  },
  "_devurl": "https://github.com/circadia-bio/mrpheus",
  "_pkgdown": "https://mrpheus.circadia-lab.uk",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mrpheus.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "compute_ahi",
    "compute_band_power",
    "compute_hrv_sleep",
    "compute_odi",
    "compute_slow_oscillations",
    "compute_spectrogram",
    "compute_spindles",
    "detect_apneas",
    "detect_artifacts",
    "export_hypnogram",
    "palette_orpheus",
    "prepare_psg",
    "read_edf",
    "stage_epochs"
  ],
  "_help": [
    {
      "page": "compute_ahi",
      "title": "Compute Apnea-Hypopnea Index (AHI)",
      "topics": [
        "compute_ahi"
      ]
    },
    {
      "page": "compute_band_power",
      "title": "Compute EEG band power per epoch",
      "topics": [
        "compute_band_power"
      ]
    },
    {
      "page": "compute_hrv_sleep",
      "title": "Compute HRV metrics across sleep stages",
      "topics": [
        "compute_hrv_sleep"
      ]
    },
    {
      "page": "compute_odi",
      "title": "Compute Oxygen Desaturation Index (ODI)",
      "topics": [
        "compute_odi"
      ]
    },
    {
      "page": "compute_slow_oscillations",
      "title": "Detect slow oscillations",
      "topics": [
        "compute_slow_oscillations"
      ]
    },
    {
      "page": "compute_spectrogram",
      "title": "Compute a time-frequency spectrogram",
      "topics": [
        "compute_spectrogram"
      ]
    },
    {
      "page": "compute_spindles",
      "title": "Detect sleep spindles",
      "topics": [
        "compute_spindles"
      ]
    },
    {
      "page": "detect_apneas",
      "title": "Detect respiratory events (apneas and hypopneas)",
      "topics": [
        "detect_apneas"
      ]
    },
    {
      "page": "detect_artifacts",
      "title": "Detect artefact epochs in a PSG recording",
      "topics": [
        "detect_artifacts"
      ]
    },
    {
      "page": "export_hypnogram",
      "title": "Export a staged hypnogram for use with hypnor",
      "topics": [
        "export_hypnogram"
      ]
    },
    {
      "page": "palette_orpheus",
      "title": "Orpheus mosaic palette",
      "topics": [
        "palette_orpheus"
      ]
    },
    {
      "page": "prepare_psg",
      "title": "Prepare a PSG recording for analysis",
      "topics": [
        "prepare_psg"
      ]
    },
    {
      "page": "read_edf",
      "title": "Read an EDF or EDF+ recording",
      "topics": [
        "read_edf"
      ]
    },
    {
      "page": "stage_epochs",
      "title": "Automatic AASM sleep staging",
      "topics": [
        "stage_epochs"
      ]
    }
  ],
  "_pkglogo": "https://github.com/circadia-bio/mrpheus/raw/main/man/figures/logo.svg",
  "_readme": "https://github.com/circadia-bio/mrpheus/raw/main/README.md",
  "_rundeps": [
    "cli",
    "data.table",
    "dplyr",
    "edfReader",
    "generics",
    "glue",
    "gsignal",
    "jsonlite",
    "lattice",
    "lifecycle",
    "lightgbm",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "pracma",
    "R6",
    "Rcpp",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with mrpheus",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is mrpheus?",
        "Installation",
        "Staging model",
        "Reading a recording",
        "Preparing a recording",
        "Artefact detection",
        "Spectral analysis",
        "Band power",
        "Spectrogram",
        "Sleep event detection",
        "Spindles",
        "Slow oscillations",
        "Automatic sleep staging",
        "Exporting to hypnor",
        "Full pipeline",
        "References"
      ],
      "created": "2026-06-27 14:06:35",
      "modified": "2026-06-27 14:06:35",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "mrpheus",
  "_universes": [
    "circadia-bio",
    "lucasfr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:38.000Z",
      "distro": "resolute",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "106f3107a223d46e1b948ecd69e60b88787efc7f7b8b73e3eadb37f3aa28e574",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:44.000Z",
      "distro": "resolute",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "6f6ce4f9f96189b8e4ed307554540d05436dd5f7f240264c339c584da279366e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:20.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "49f4833294006d3f1fd6e7264a3ee51fdd71d11583c57408351b2375d0743f3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-01T23:58:15.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "24da71554ade74e6932d89cc0294f88251259c937a09629fc64d1f6d2afd3d13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-01T23:59:03.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "8683af71bed8036d32f5c7c5d133d0183a0b8c6373dda91b003174745154e748",
      "status": "success",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:20.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "8f4030010411b9d8c7a8e7c68897b2801813542e3fa29529ef7b0b891ee98629",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:24.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "8c839e1ed4e79e6def2380e97814799f0a2dc925a7f9ad2818542ac4f1723d99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-01T23:57:39.000Z",
      "commit": "4ca434630cd5feffe167b8e0277c6895fca7ce6b",
      "fileid": "da746a124b3ac19c2aa276bbb41566f03f709bd798f6f81a32e70b3f28cb2bcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28555569073"
    }
  ]
}