Analysis of Sleep Data


[Up] [Top]

Documentation for package ‘rsleep’ version 1.0.4

Help Pages

bands_power Computes spectral power of bands listed in the bands argument.
chambon2018 Deep Learning Architecture for Temporal Sleep Stage Classification model implementation in Keras.
check_events Check events dataframe.
detect_rpeaks Detects R peaks in raw ECG signal.
epochs Split signals into a list of epochs according to an events dataframe or an epoch duration.
example_ecg_200hz Sample electrocardiogram signal
example_hypnogram_30s Example hypnogram scored on 30 seconds.
hypnogram Filter and reorder an events dataframe to keep only sleep stages related-events.
normalize_cycles Normalize sleep cycles scored on Noxturnal software from start and stop flags to unique events.
plot_hypnogram Draw a hypnogram with ggplot2.
psm Power spectral density using adaptive sine multitaper.
pwelch Power spectral density using Welch's method.
read_events_noxturnal Read a Noxturnal events file (Unicode CSV format)
read_mdf Read a Morpheo Data Format (MDF) directory to a list.
schwabedal2018 Automated Classification of Sleep Stages in Mice with Deep Learning model implementation in Keras.
spectrogram Plot the spectrogram of signal.
stages_stats Get stages events related stats in a named vector.
write_channel Write a timeserie to disk using Morpheo Data Format (MDF) guidelines.
write_mdf Write a European Data Format (EDF) record file to disk using Morpheo Data Format (MDF) guidelines. Target directory is erased if it already exists. Signals are stored in binary file, events and metadata in JavaScript Object Notation (JSON) files.