summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-25 09:39:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-25 10:02:03 +0100
commitcd47dcf6a20f57d3e49f3f46c30a971aadc41698 (patch)
tree1afc0a4e13c0fcfa4dab944452bdace21e80fd04
parenta8c965cfeca16e6a836542a161a6cf8b3eb0bcb5 (diff)
downloadguix-cd47dcf6a20f57d3e49f3f46c30a971aadc41698.tar.gz
gnu: Add r-haplo-stats.
* gnu/packages/cran.scm (r-haplo-stats): New variable.
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b69a4defd6..1556d56672 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12478,3 +12478,31 @@ failure time models, ordinary linear models, the Buckley-James model,
 generalized least squares for serially or spatially correlated observations,
 generalized linear models, and quantile regression.")
     (license license:gpl2+)))
+
+(define-public r-haplo-stats
+  (package
+    (name "r-haplo-stats")
+    (version "1.7.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "haplo.stats" version))
+       (sha256
+        (base32
+         "19kxascqq5qz0zdxx0w837ji207y1z2ggxkl4vmlbay03k2dw2mx"))))
+    (properties `((upstream-name . "haplo.stats")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-rms" ,r-rms)))
+    (native-inputs
+     `(("r-r-rsp" ,r-r-rsp))) ; for vignettes
+    (home-page "https://www.mayo.edu/research/labs/statistical-genetics-genetic-epidemiology/software")
+    (synopsis "Analysis of haplotypes when linkage phase is ambiguous")
+    (description
+     "This package provides routines for the analysis of indirectly measured
+haplotypes.  The statistical methods assume that all subjects are unrelated
+and that haplotypes are ambiguous (due to unknown linkage phase of the genetic
+markers).  The main functions are: @code{haplo.em()}, @code{haplo.glm()},
+@code{haplo.score()}, and @code{haplo.power()}; all of which have detailed
+examples in the vignette.")
+    (license license:gpl2+)))