diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-11-07 16:16:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-11-07 23:32:44 +0100 |
commit | 7fd5f60b8f1930bc4828ccb76b8f0a7a53527c33 (patch) | |
tree | 6c60f6f37e51017dea758bd9369f9fc9febdb669 /gnu/packages | |
parent | 10e16fa93d09d72302a2c27d94b2975aa8f86174 (diff) | |
download | guix-7fd5f60b8f1930bc4828ccb76b8f0a7a53527c33.tar guix-7fd5f60b8f1930bc4828ccb76b8f0a7a53527c33.tar.gz |
gnu: Add r-hardyweinberg.
* gnu/packages/cran.scm (r-hardyweinberg): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/cran.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 97efca3602..41eb559ac1 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+))) |