summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-25 09:38:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-25 10:02:02 +0100
commit601ddf02cc8ceb59c220b01bc7b1894de261f2e9 (patch)
treee1952af2c4c4db462304101ab79c3f9ec8360a15 /gnu/packages/cran.scm
parent33b233ba633dcfa3b16f6198d4a1626e33336aff (diff)
downloadguix-601ddf02cc8ceb59c220b01bc7b1894de261f2e9.tar.gz
gnu: Add r-genetics.
* gnu/packages/cran.scm (r-genetics): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 34e7a6c12a..d6a42ceea2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -12358,3 +12358,33 @@ Metasim 1.0: an individual-based environment for simulating population
 genetics of complex population dynamics.")
     ;; Any GPL version
     (license license:gpl2+)))
+
+(define-public r-genetics
+  (package
+    (name "r-genetics")
+    (version "1.3.8.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "genetics" version))
+       (sha256
+        (base32
+         "0p59r4vxhy68d7cv2s2k4vbgnkxji21naz9jmdry9wxclrg7fw28"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-combinat" ,r-combinat)
+       ("r-gdata" ,r-gdata)
+       ("r-gtools" ,r-gtools)
+       ("r-mass" ,r-mass)
+       ("r-mvtnorm" ,r-mvtnorm)))
+    (home-page "https://cran.r-project.org/web/packages/genetics/")
+    (synopsis "Population genetics")
+    (description
+     "This package provides classes and methods for handling genetic data.
+It includes classes to represent genotypes and haplotypes at single markers up
+to multiple markers on multiple chromosomes.  Function include allele
+frequencies, flagging homo/heterozygotes, flagging carriers of certain
+alleles, estimating and testing for Hardy-Weinberg disequilibrium, estimating
+and testing for linkage disequilibrium, ...")
+    ;; Any GPL version.
+    (license license:gpl2+)))