From 3080b81af63c201decc96f8ba62ae174cdc574a2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 25 Mar 2019 16:02:15 +0100 Subject: [PATCH] gnu: Add r-hapassoc. * gnu/packages/cran.scm (r-hapassoc): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fe69ee8fc4..c10af5fa2e 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -12802,3 +12802,25 @@ (define-public r-hierfstat are also given to test via randomisations the significance of each F and variance components, using the likelihood-ratio statistics G.") (license license:gpl2+))) + +(define-public r-hapassoc + (package + (name "r-hapassoc") + (version "1.2-8") + (source + (origin + (method url-fetch) + (uri (cran-uri "hapassoc" version)) + (sha256 + (base32 + "0qs5jl0snzfchgpp6pabncwywxcmi743g91jvjiyyzw0lw85yv4s")))) + (build-system r-build-system) + (home-page "http://stat.sfu.ca/statgen/research/hapassoc.html") + (synopsis "Inference of trait associations with SNP haplotypes") + (description + "Hapassoc performs likelihood inference of trait associations with +haplotypes and other covariates in @dfn{generalized linear models} (GLMs). The +functions are developed primarily for data collected in cohort or +cross-sectional studies. They can accommodate uncertain haplotype phase and +handle missing genotypes at some SNPs.") + (license license:gpl2)))