spack/var/spack/repos/builtin/packages/r-gplots/package.py
2021-01-17 13:43:16 -06:00

43 lines
2.1 KiB
Python

# 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 RGplots(RPackage):
"""Various R Programming Tools for Plotting Data
Various R programming tools for plotting data, including: - calculating and
plotting locally smoothed summary function as ('bandplot', 'wapply'), -
enhanced versions of standard plots ('barplot2', 'boxplot2', 'heatmap.2',
'smartlegend'), - manipulating colors ('col2hex', 'colorpanel', 'redgreen',
'greenred', 'bluered', 'redblue', 'rich.colors'), - calculating and
plotting two-dimensional data summaries ('ci2d', 'hist2d'), - enhanced
regression diagnostic plots ('lmplot2', 'residplot'), - formula-enabled
interface to 'stats::lowess' function ('lowess'), - displaying textual data
in plots ('textplot', 'sinkplot'), - plotting a matrix where each cell
contains a dot whose size reflects the relative magnitude of the elements
('balloonplot'), - plotting "Venn" diagrams ('venn'), - displaying
Open-Office style plots ('ooplot'), - plotting multiple data on same
region, with separate axes ('overplot'), - plotting means and confidence
intervals ('plotCI', 'plotmeans'), - spacing points in an x-y plot so they
don't overlap ('space')."""
homepage = "https://cloud.r-project.org/package=gplots"
url = "https://cloud.r-project.org/src/contrib/gplots_3.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gplots"
version('3.1.1', sha256='f9ae19c2574b6d41adbeccaf7bc66cf56d7b2769004daba7e0038d5fbd821339')
version('3.0.1.1', sha256='7db103f903a25d174cddcdfc7b946039b61e236c95084b90ad17f1a41da3770c')
version('3.0.1', sha256='343df84327ac3d03494992e79ee3afc78ba3bdc08af9a305ee3fb0a38745cb0a')
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-gtools', type=('build', 'run'))
depends_on('r-catools', type=('build', 'run'))
depends_on('r-kernsmooth', type=('build', 'run'))
depends_on('r-gdata', when='@:3.0.1.1', type=('build', 'run'))