Package: sleepr 0.4.0

Quentin Geissmann

sleepr: Analyse Activity and Sleep Behaviour

Use behavioural variables to score activity and infer sleep from bouts of immobility. It is primarily designed to score sleep in fruit flies from Drosophila Activity Monitor (TriKinetics) and Ethoscope data. It implements sleep scoring using the "five-minute rule" (Hendricks et al. (2000) <doi:10.1016/S0896-6273(00)80877-6>), activity classification for Ethoscopes (Geissmann et al. (2017) <doi:10.1371/journal.pbio.2003026>) and a new algorithm to detect when animals are dead.

Authors:Quentin Geissmann [aut, cre]

sleepr_0.4.0.tar.gz
sleepr_0.4.0.zip(r-4.7-any)sleepr_0.4.0.zip(r-4.6-any)sleepr_0.4.0.zip(r-4.5-any)
sleepr_0.4.0.tgz(r-4.6-any)sleepr_0.4.0.tgz(r-4.5-any)
sleepr_0.4.0.tar.gz(r-4.7-any)sleepr_0.4.0.tar.gz(r-4.6-any)
sleepr_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sleepr/json (API)

# Install 'sleepr' in R:
install.packages('sleepr', repos = c('https://rethomics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rethomics/sleepr/issues

On CRAN:

Conda:

biological-data-analysisneuroscience

4.40 score 6 stars 83 scripts 320 downloads 1 mentions 15 exports 2 dependencies

Last updated from:4f96509529. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK122
source / vignettesOK209
linux-releaseOK119
macos-releaseOK83
macos-oldrelOK108
windows-develOK66
windows-releaseOK74
windows-oldrelOK73
wasm-releaseOK85

Exports:bout_analysisclassify_eventscurate_dead_animalsdefault_still_shiftfind_spikesfind_still_binsk_rule_binslight_phasemax_velocity_detectormax_velocity_detector_legacymotion_qcpixel_sizesleep_annotationsleep_dam_annotationvirtual_beam_cross_detector

Dependencies:behavrdata.table

Readme and manuals

Help Manual

Help pageTopics
Find "bouts" in categorical time seriesbout_analysis
Remove - irrelevant - data after individual have diedcurate_dead_animals
Tracking-noise diagnosticsdefault_still_shift find_spikes find_still_bins light_phase motion_calibration pixel_size
Motion detector for Ethocope datamax_velocity_detector max_velocity_detector_legacy motion_detectors virtual_beam_cross_detector
Check how well the fixed movement threshold fits the tracking noisemotion_qc
Score sleep behaviour from immobilitysleep_annotation sleep_dam_annotation
Sleep from walking and sustained movement (the k-rule)classify_events k_rule_bins sleep_rules