summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py
blob: 3898c8d15fb2ce1d5d10b590672da7badb27b1ae (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
# 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 RDelayedmatrixstats(RPackage):
    """Functions that Apply to Rows and Columns of 'DelayedMatrix' Objects.

       A port of the 'matrixStats' API for use with DelayedMatrix objects from
       the 'DelayedArray' package. High-performing functions operating on rows
       and columns of DelayedMatrix objects, e.g. col / rowMedians(), col /
       rowRanks(), and col / rowSds(). Functions optimized per data type and
       for subsetted calculations such that both memory usage and processing
       time is minimized."""

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

    version('1.6.1', commit='4378d1898a403305a94b122c4f36d1215fa7708d')
    version('1.4.0', commit='eb5b390ef99651fe87a346848f807de95afe8971')
    version('1.2.0', commit='de868e730be6280dfad41a280ab09f4d3083c9ac')
    version('1.0.3', commit='e29a3444980ff727c5b12286884b06dfaebf5b5b')

    depends_on('r-delayedarray', type=('build', 'run'))
    depends_on('r-matrixstats@0.53.1:', type=('build', 'run'))
    depends_on('r-matrix', type=('build', 'run'))
    depends_on('r-s4vectors', type=('build', 'run'))
    depends_on('r-iranges', type=('build', 'run'))

    depends_on('r-delayedarray@0.5.27:', when='@1.2.0:', type=('build', 'run'))
    depends_on('r-s4vectors@0.17.5:', when='@1.2.0:', type=('build', 'run'))

    depends_on('r-delayedarray@0.7.37:', when='@1.4.0:', type=('build', 'run'))
    depends_on('r-hdf5array@1.7.10:', when='@1.4.0:', type=('build', 'run'))
    depends_on('r-biocparallel', when='@1.4.0:', type=('build', 'run'))

    depends_on('r-delayedarray@0.9.8:', when='@1.6.1:', type=('build', 'run'))
    depends_on('r-matrixstats@0.55.0:', when='@1.6.1:', type=('build', 'run'))