From 06d6de773baa1a167724e5519bdd2a4a3a1ca867 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 11:54:09 +0200 Subject: [PATCH] gnu: Add r-gaston. * gnu/packages/cran.scm (r-gaston): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 8f888052da..e62ce5feac 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -22857,3 +22857,31 @@ and contains over 2000 functions for plotting spatial data, exploratory data analysis, model-fitting, simulation, spatial sampling, model diagnostics, and formal inference.") (license license:gpl2+))) + +(define-public r-gaston + (package + (name "r-gaston") + (version "1.5.6") + (source + (origin + (method url-fetch) + (uri (cran-uri "gaston" version)) + (sha256 + (base32 + "1bx6iqfjb9lf3vn0z7v8wjv9m7issvqsnymm4qsgl3622s6qz6rg")))) + (properties `((upstream-name . "gaston"))) + (build-system r-build-system) + (inputs `(("zlib" ,zlib))) + (propagated-inputs + `(("r-rcpp" ,r-rcpp) + ("r-rcppeigen" ,r-rcppeigen) + ("r-rcppparallel" ,r-rcppparallel))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://cran.r-project.org/web/packages/gaston/") + (synopsis "Genetic data handling (QC, GRM, LD, PCA) and linear mixed models") + (description + "This is a package for the manipulation of genetic data (SNPs). +Computation of @dfn{genetic relationship matrix} (GRM) and dominance matrix, +@dfn{linkage disequilibrium} (LD), and heritability with efficient algorithms +for linear mixed models (AIREML).") + (license license:gpl3)))