From 1cb683661433daa44059fb1ca12ca64dfd2ed27b Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Thu, 28 Jul 2022 17:14:45 -0500 Subject: new package: r-signac (#31703) Also includes new package depdendency for r-rcpproll. --- .../repos/builtin/packages/r-rcpproll/package.py | 22 ++++++++++ .../repos/builtin/packages/r-signac/package.py | 47 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-rcpproll/package.py create mode 100644 var/spack/repos/builtin/packages/r-signac/package.py diff --git a/var/spack/repos/builtin/packages/r-rcpproll/package.py b/var/spack/repos/builtin/packages/r-rcpproll/package.py new file mode 100644 index 0000000000..f234262250 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-rcpproll/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2022 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 RRcpproll(RPackage): + """Efficient Rolling / Windowed Operations. + + Provides fast and efficient routines for common rolling / windowed + operations. Routines for the efficient computation of windowed mean, + median, sum, product, minimum, maximum, standard deviation and variance are + provided.""" + + cran = "RcppRoll" + + version('0.3.0', sha256='cbff2096443a8a38a6f1dabf8c90b9e14a43d2196b412b5bfe5390393f743f6b') + + depends_on('r@2.15.1:', type=('build', 'run')) + depends_on('r-rcpp', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/r-signac/package.py b/var/spack/repos/builtin/packages/r-signac/package.py new file mode 100644 index 0000000000..c77fa05632 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-signac/package.py @@ -0,0 +1,47 @@ +# Copyright 2013-2022 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 RSignac(RPackage): + """Analysis of Single-Cell Chromatin Data. + + A framework for the analysis and exploration of single-cell chromatin data. + The 'Signac' package contains functions for quantifying single-cell + chromatin data, computing per-cell quality control metrics, dimension + reduction and normalization, visualization, and DNA sequence motif + analysis. Reference: Stuart et al. (2021) + .""" + + cran = "Signac" + + version('1.7.0', sha256='5e4456eeab29fa2df7f6236b050dec8cb9c073d7652a89ee5030a27f94e5e4bf') + + depends_on('r@4.0.0:', type=('build', 'run')) + depends_on('r-genomeinfodb@1.29.3:', type=('build', 'run')) + depends_on('r-genomicranges', type=('build', 'run')) + depends_on('r-iranges', type=('build', 'run')) + depends_on('r-matrix', type=('build', 'run')) + depends_on('r-rsamtools', type=('build', 'run')) + depends_on('r-s4vectors', type=('build', 'run')) + depends_on('r-seuratobject@4.0.0:', type=('build', 'run')) + depends_on('r-data-table', type=('build', 'run')) + depends_on('r-dplyr@1.0.0:', type=('build', 'run')) + depends_on('r-future', type=('build', 'run')) + depends_on('r-future-apply', type=('build', 'run')) + depends_on('r-ggplot2', type=('build', 'run')) + depends_on('r-irlba', type=('build', 'run')) + depends_on('r-pbapply', type=('build', 'run')) + depends_on('r-tidyr', type=('build', 'run')) + depends_on('r-patchwork', type=('build', 'run')) + depends_on('r-biocgenerics', type=('build', 'run')) + depends_on('r-stringi', type=('build', 'run')) + depends_on('r-fastmatch', type=('build', 'run')) + depends_on('r-rcpproll', type=('build', 'run')) + depends_on('r-scales', type=('build', 'run')) + depends_on('r-rcpp', type=('build', 'run')) + depends_on('r-tidyselect', type=('build', 'run')) + depends_on('r-vctrs', type=('build', 'run')) -- cgit v1.2.3-60-g2f50