summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-abaenrichment/package.py
blob: 207ac2c9a557c8a2326f5e8c8a371b0d50bbbaa1 (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
41
42
43
# Copyright 2013-2021 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 RAbaenrichment(RPackage):
    """Gene expression enrichment in human brain regions.

       The package ABAEnrichment is designed to test for enrichment of user
       defined candidate genes in the set of expressed genes in different human
       brain regions. The core function 'aba_enrich' integrates the expression
       of the candidate gene set (averaged across donors) and the structural
       information of the brain using an ontology, both provided by the Allen
       Brain Atlas project. 'aba_enrich' interfaces the ontology enrichment
       software FUNC to perform the statistical analyses. Additional functions
       provided in this package like 'get_expression' and 'plot_expression'
       facilitate exploring the expression data, and besides the standard
       candidate vs. background gene set enrichment, also three additional
       tests are implemented, e.g. for cases when genes are ranked instead of
       divided into candidate and background."""

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

    version('1.14.1', commit='e1ebfb5de816b924af16675a5ba9ed1a6b527b23')
    version('1.12.0', commit='1320e932deafd71d67c7a6f758d15b00d6d7f7d7')
    version('1.10.0', commit='15f33ccb694a91d2d2067c937682c4bc952def6c')
    version('1.8.0', commit='cb8155ee9a04fb55b2a2e8c23df7c0be15bb2624')
    version('1.6.0', commit='d2a0467dcb7aa6e103e3b83dccd6510b0e142ac1')

    depends_on('r@3.2:', type=('build', 'run'))
    depends_on('r-rcpp@0.11.5:', type=('build', 'run'))
    depends_on('r-gplots@2.14.2:', type=('build', 'run'))
    depends_on('r-gtools@3.5.0:', type=('build', 'run'))
    depends_on('r-abadata@0.99.2:', type=('build', 'run'))

    depends_on('r@3.4:', when='@1.8.0:', type=('build', 'run'))
    depends_on('r-data-table@1.10.4:', when='@1.8.0:', type=('build', 'run'))

    depends_on('r-gofuncr@1.1.2:', when='@1.12.0:', type=('build', 'run'))