diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 10:56:22 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-14 13:35:56 +0100 |
commit | 5f08fa64f023192c1aef0b34afb00b17bdd591de (patch) | |
tree | 9c821cc01e6146cb1f60449305abc71e39da073e | |
parent | a5d4dc7efb2b1bf01fe7bbbf18d91f8b6c63e7aa (diff) | |
download | guix-5f08fa64f023192c1aef0b34afb00b17bdd591de.tar.gz |
gnu: Add r-actogrammr.
* gnu/packages/cran.scm (r-actogrammr): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7020725983..ba322ee220 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18103,3 +18103,32 @@ sets, such as sleep diaries and continuous glucose monitoring data.") behavior variables from activPAL events files.") ;; Either version of the GPL. (license (list license:gpl2 license:gpl3)))) + +(define-public r-actogrammr + (package + (name "r-actogrammr") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "actogrammr" version)) + (sha256 + (base32 + "1jzvarmd41yqlrkagzlc8m19n5mn0w0b36fy50lyvgrfsafjfbqa")))) + (properties `((upstream-name . "actogrammr"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-ggplot2" ,r-ggplot2) + ("r-lubridate" ,r-lubridate) + ("r-readr" ,r-readr) + ("r-tidyr" ,r-tidyr))) + (home-page "https://cran.r-project.org/web/packages/actogrammr/") + (synopsis "Read in activity data and plot actograms") + (description + "Read in activity measurements from standard file formats used by +circadian rhythm researchers, currently only ClockLab format, and process and +plot the data. The central type of plot is the actogram, as first described +in \"Activity and distribution of certain wild mice in relation to biotic +communities\" by MS Johnson (1926) @url{doi:10.2307/1373575}.") + (license license:gpl3))) |