summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-14 10:54:49 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-14 13:35:56 +0100
commit89d4f154b982a83ded18cbae801fd41f56cbada8 (patch)
tree78a217e95765396bba83a16af5bb1bfd6f3c7b21
parent7f960d81fb8685e707b6805e1ac00da63f39407c (diff)
downloadguix-89d4f154b982a83ded18cbae801fd41f56cbada8.tar.gz
gnu: Add r-activitycounts.
* gnu/packages/cran.scm (r-activitycounts): New variable.
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 00ce9ad934..259fa1d3e9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -17991,3 +17991,35 @@ sequence of the entire gene.  Integration of mutations with signalling
 information helps find new driver genes and propose candidate mechanisms to
 known drivers.")
     (license license:gpl2+)))
+
+(define-public r-activitycounts
+  (package
+    (name "r-activitycounts")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "activityCounts" version))
+       (sha256
+        (base32
+         "0zgxr2sk3a8kmygfxx1p5hnrfwdkxx7php6jlrhm8wv6052ck8jz"))))
+    (properties
+     `((upstream-name . "activityCounts")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-lubridate" ,r-lubridate)
+       ("r-magrittr" ,r-magrittr)
+       ("r-seewave" ,r-seewave)
+       ("r-signal" ,r-signal)
+       ("r-tibble" ,r-tibble)))
+    (home-page "https://github.com/walkabillylab/activityCounts")
+    (synopsis "Generate ActiLife counts")
+    (description
+     "ActiLife generates activity counts from data collected by Actigraph
+accelerometers.  Actigraph is one of the most common research-grade
+accelerometers.  There is considerable research validating and developing
+algorithms for human activity using ActiLife counts.  Unfortunately, ActiLife
+counts are proprietary and difficult to implement if researchers use different
+accelerometer brands.  The code creates ActiLife counts from raw acceleration
+data for different accelerometer brands.")
+    (license license:gpl3)))