summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-ldheatmap/package.py
blob: 0db6a4b9d9e2b5083c534e6a4da7acb6365b460b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


class RLdheatmap(RPackage):
    """Graphical Display of Pairwise Linkage Disequilibria Between SNPs.

    Produces a graphical display, as a heat map, of measures of pairwise
    linkage disequilibria between single nucleotide polymorphisms (SNPs). Users
    may optionally include the physical locations or genetic map distances of
    each SNP on the plot. The methods are described in  Shin et al. (2006)
    <doi:10.18637/jss.v016.c03>. Users should note that the imported package
    'snpStats' and the suggested packages  'rtracklayer', 'GenomicRanges',
    'GenomInfoDb' and 'IRanges' are all BioConductor packages
    <https://bioconductor.org>."""

    cran = "LDheatmap"

    version("1.0-6", sha256="4cca2eea380b2a00b9958b5191ec442df24d60cd462e6634a21eaaa0fd4c293f")
    version("1.0-4", sha256="07eb385f19e6a195e8e4d75be0b47c57744eabbf14045e527f0c27e1183ae5ca")
    version("0.99-7", sha256="aca54c839a424506d8be7153bf03b32026aeefe7ed38f534e8e19708e34212e4")

    depends_on("r@2.14.0:", type=("build", "run"))
    depends_on("r@4.0:", type=("build", "run"), when="@1.0-4:")
    depends_on("r-genetics", type=("build", "run"))
    depends_on("r-snpstats", type=("build", "run"))
    depends_on("r-rcpp", type=("build", "run"))