GithubHelp home page GithubHelp logo

boupetch / rsleep Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 4.0 2.8 MB

Sleep Data Analysis with R

License: Other

R 86.12% Dockerfile 1.15% TeX 12.73%
sleep sleep-data-analysis mdf signals electroencephalography heart-rate-variability sleep-record cran r r-package

rsleep's Introduction

rsleep: A R package for sleep data analysis

CRAN Downloads License:MIT DOI

rsleep: Open-source, multiplatform R package for advanced sleep data analysis. Features automatic sleep scoring and sophisticated visualization tools.

Installation

Development version can be directly installed from Github :

remotes::install_github("boupetch/rsleep@dev")

Stable version can be downloaded and installed from CRAN:

install.packages("rsleep")

Usage

library(rsleep)

Vignettes

Examples

Plotting a spectrogram

Detecting R peaks in ECG signal

Processing a hypnogram

Plotting a hypnodensity

Detecting spindles

Computing a transition matrix

Citation

@software{paul_bouchequet_2024_10507974,
  author       = {Paul Bouchequet},
  title        = {rsleep},
  doi          = {10.5281/zenodo.7416363},
  url          = {https://doi.org/10.5281/zenodo.7416363}
}

Publications using the rsleep package

rsleep's People

Contributors

boupetch avatar johannesne avatar kbroman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rsleep's Issues

Add multidimensional sleep stages transitions

Add multidimensional sleep stages transitions computing from hypnogram as described in: Modeling sleep fragmentation in sleep hypnograms: An instance of fast, scalable discrete-state, discrete-time analyses, 2015, Bruce J. Swihart & al.

Hypoxic burden implementation

The ‘hypoxic burden’, an easily derived signal from overnight sleep study, predicts CVD mortality across populations.
It could be very useful to implement this variable in sleepr.
This is the paper published in November 2018.

Azarbarzin A, Sands SA, Stone KL, Taranto-Montemurro L, Messineo L, Terrill PI, et al. The hypoxic burden of sleep apnoea predicts cardiovascular disease-related mortality: the Osteoporotic Fractures in Men Study and the Sleep Heart Health Study. Eur Heart J [Internet]. [cited 2018 Dec 7]; Available from: https://academic.oup.com/eurheartj/advance-article/doi/10.1093/eurheartj/ehy624/5146754

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.