summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-enrichplot/package.py
blob: 8a30292b500ca8f0363db3d49bedf90322288f97 (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
32
33
34
35
36
37
38
39
40
# Copyright 2013-2020 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 import *


class REnrichplot(RPackage):
    """Visualization of Functional Enrichment Result.

       The 'enrichplot' package implements several visualization methods for
       interpreting functional enrichment results obtained from ORA or GSEA
       analysis. All the visualization methods are developed based on 'ggplot2'
       graphics."""

    homepage = "https://bioconductor.org/packages/enrichplot"
    git      = "https://git.bioconductor.org/packages/enrichplot.git"

    version('1.4.0', commit='6ffe5d9c5dbe5cbea29f2e0941595475bbbcea0e')
    version('1.2.0', commit='2eeaafb571d35a106eba8ae7df014f3201066e8b')
    version('1.0.2', commit='ba7726fa0d4b581b7514dcbb04889cdbdd75ff29')

    depends_on('r@3.4.0:', type=('build', 'run'))
    depends_on('r-annotationdbi', type=('build', 'run'))
    depends_on('r-cowplot', type=('build', 'run'))
    depends_on('r-dose@3.5.1:', type=('build', 'run'))
    depends_on('r-ggplot2', type=('build', 'run'))
    depends_on('r-ggraph', type=('build', 'run'))
    depends_on('r-ggridges', type=('build', 'run'))
    depends_on('r-gosemsim', type=('build', 'run'))
    depends_on('r-igraph', type=('build', 'run'))
    depends_on('r-reshape2', type=('build', 'run'))
    depends_on('r-upsetr', type=('build', 'run'))

    depends_on('r-europepmc', when='@1.2.0:', type=('build', 'run'))
    depends_on('r-ggplotify', when='@1.2.0:', type=('build', 'run'))
    depends_on('r-gridextra', when='@1.2.0:', type=('build', 'run'))
    depends_on('r-purrr', when='@1.2.0:', type=('build', 'run'))
    depends_on('r-rcolorbrewer', when='@1.2.0:', type=('build', 'run'))