summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-25 13:46:37 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-25 14:00:32 +0100
commitb8fea3c85998a3c39e39f1eda6fa28ac54cda008 (patch)
treeec8db301964d2afbf155a44f35973d5b4b9074a4 /gnu
parent1cdd9f0e8a3235cdb4f56f8d0ced569cba852079 (diff)
downloadguix-b8fea3c85998a3c39e39f1eda6fa28ac54cda008.tar.gz
gnu: Add r-hwde.
* gnu/packages/cran.scm (r-hwde): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4d7f68bbee..e50acce5d6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12604,3 +12604,25 @@ map, of measures of pairwise linkage disequilibria between SNPs.  Users may
 optionally include the physical locations or genetic map distances of each SNP
 on the plot.")
     (license license:gpl3)))
+
+(define-public r-hwde
+  (package
+    (name "r-hwde")
+    (version "0.67")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "hwde" version))
+       (sha256
+        (base32
+         "0wb2f9i5qi7w77ygh8bvydfpr7j5x8dyvnnhdkajaz0wdcpkyaqy"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/hwde/")
+    (synopsis "Models and tests for departure from Hardy-Weinberg equilibrium")
+    (description
+     "This package fits models for genotypic disequilibria, as described in
+Huttley and Wilson (2000), Weir (1996) and Weir and Wilson (1986).  Contrast
+terms are available that account for first order interactions between loci.
+It also implements, for a single locus in a single population, a conditional
+exact test for Hardy-Weinberg equilibrium.")
+    (license license:gpl2+)))