guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

17/30: gnu: Add r-hardyweinberg.


From: Ricardo Wurmus
Subject: 17/30: gnu: Add r-hardyweinberg.
Date: Tue, 7 Nov 2017 17:32:58 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7fd5f60b8f1930bc4828ccb76b8f0a7a53527c33
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Nov 7 16:16:29 2017 +0100

    gnu: Add r-hardyweinberg.
    
    * gnu/packages/cran.scm (r-hardyweinberg): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 97efca3..41eb559 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1349,3 +1349,34 @@ Various diagnostic plots are available to inspect the 
quality of the
 imputations.")
     ;; Any of these two versions.
     (license (list license:gpl2 license:gpl3))))
+
+(define-public r-hardyweinberg
+  (package
+    (name "r-hardyweinberg")
+    (version "1.5.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "HardyWeinberg" version))
+       (sha256
+        (base32
+         "0xbcchmzii0jv0ygr91n72r39j1axraxd2i607b56v4yd5d8sy4k"))))
+    (properties `((upstream-name . "HardyWeinberg")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-mice" ,r-mice)
+       ("r-rcpp" ,r-rcpp)))
+    (home-page "https://cran.r-project.org/package=HardyWeinberg";)
+    (synopsis "Statistical tests and graphics for Hardy-Weinberg equilibrium")
+    (description
+     "This package contains tools for exploring Hardy-Weinberg equilibrium for
+diallelic genetic marker data.  All classical tests (chi-square, exact,
+likelihood-ratio and permutation tests) for Hardy-Weinberg equilibrium are
+included in the package, as well as functions for power computation and for
+the simulation of marker data under equilibrium and disequilibrium.  Routines
+for dealing with markers on the X-chromosome are included.  Functions for
+testing equilibrium in the presence of missing data by using multiple
+imputation are also provided.  Implements several graphics for exploring the
+equilibrium status of a large set of diallelic markers: ternary plots with
+acceptance regions, log-ratio plots and Q-Q plots.")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]