Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Code for processing the accelerometer data from the Whitehall Study II

License

Notifications You must be signed in to change notification settings

wadpac/whitehall-acc-spt-detection-eval

Repository files navigation

Code related to the evaluation of Sleep Period Time window detection algorithm in the Whitehall study II

call_GGIRshell.R

Central code to process binary accelerometer data to derive night specific estimates of sleep parameters based on: HDCZA and L5+/-6hr algorithms. To run this script on the cluster we used run-mainscript.R and submit.sh. The file config.txt is a configuration file used by these scripts and indicates the location of the data, the output directory, the location R itself, and the logcation of the sleeplog (diary) data.

compare_psg_accmodels.R

Script to load the output from the previous step and the psg sleep scores, cleans them, and then compares the two algorithms.

See for more information [insert reference to paper: van Hees bioRxiv et al. 2018].

About

Code for processing the accelerometer data from the Whitehall Study II

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published