aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/phewas.scm
diff options
context:
space:
mode:
authorpjotrp2017-02-28 15:10:46 +0000
committerpjotrp2017-02-28 15:10:46 +0000
commita47f8c55d3cbb143032d681aeb6a523f8205ba68 (patch)
tree0cf6b6bb0c62feb720cc1e9d1bb52cc8f70f0263 /gn/packages/phewas.scm
parentf43620688152570f2c50e907ad7be4b392e748c6 (diff)
downloadguix-bioinformatics-a47f8c55d3cbb143032d681aeb6a523f8205ba68.tar.gz
r-mlmm: added
Diffstat (limited to 'gn/packages/phewas.scm')
-rw-r--r--gn/packages/phewas.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gn/packages/phewas.scm b/gn/packages/phewas.scm
index 7dadb04..50b5ed4 100644
--- a/gn/packages/phewas.scm
+++ b/gn/packages/phewas.scm
@@ -11,6 +11,7 @@
#:use-module (guix build-system ruby)
#:use-module (guix build-system r)
#:use-module (guix build-system trivial)
+ #:use-module (gn packages lmm)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages base)
@@ -41,6 +42,31 @@
#:use-module (gnu packages bootstrap)
#:use-module (srfi srfi-1))
+(define-public r-mlmm
+ (let ((commit "9fec9805573e97b44ee121f3651ddb79eafc8f8d"))
+ (package
+ (name "r-mlmm")
+ (version "0.1.0")
+ (source (origin
+ ;; We use the git reference, because there's no CRAN package (yet)
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Gregor-Mendel-Institute/mlmm.git")
+ (commit commit)))
+ (file-name (string-append name "-" (string-take commit 7) "-checkout" ))
+ (sha256
+ (base32
+ "0dr77bf6i7qpi6kvay84p4lgib20l552ph8mp56v3qk0fbsamh8j"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-emma" ,r-emma)))
+ (synopsis "R/mlmm")
+ (description
+ "Implements an efficient multi-locus mixed-model approach for
+genome-wide association studies in structured populations.")
+ (home-page "https://github.com/Gregor-Mendel-Institute/mlmm")
+ (license license:gpl3))))
+
(define-public r-fastmatch
(package
(name "r-fastmatch")
@@ -118,8 +144,10 @@
`(
("r" ,r)
("r-data-table" ,r-data-table)
+ ; ("r-emma" ,r-emma)
("r-fgsea" ,r-fgsea)
("r-limma" ,r-limma)
+ ("r-mlmm" ,r-mlmm)
("r-qvalue" ,r-qvalue)
))
(arguments