From 5aa7e882fa3f198fa8e108827162d71b0229033c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 14 Dec 2019 16:46:12 +0100 Subject: [PATCH] gnu: Add r-ggplot-multistats. * gnu/packages/cran.scm (r-ggplot-multistats): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index c9dfafa9b1..3190cee592 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -18706,3 +18706,31 @@ (define-public r-qqman "This package allows you to create Q-Q and Manhattan plots for GWAS data from PLINK results.") (license license:gpl3))) + +(define-public r-ggplot-multistats + (package + (name "r-ggplot-multistats") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "ggplot.multistats" version)) + (sha256 + (base32 + "1afzfa86vc484bcwpg7m1ky03jpax584rigzgai8w06pifkmz0il")))) + (properties + `((upstream-name . "ggplot.multistats"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ggplot2" ,r-ggplot2) + ("r-hexbin" ,r-hexbin) + ("r-rlang" ,r-rlang) + ("r-scales" ,r-scales))) + (home-page "https://github.com/flying-sheep/ggplot.multistats") + (synopsis "Multiple summary statistics for binned stats/geometries") + (description + "This package provides the ggplot binning layer @code{stat_summaries_hex()}, +which functions similar to its singular form, but allows the use of multiple +statistics per bin. Those statistics can be mapped to multiple bin +aesthetics.") + (license license:gpl3)))