all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Navid Afkhami <navid.afkhami@mdc-berlin.de>
To: 61224@debbugs.gnu.org
Subject: [bug#61224] [PATCH] gnu: Add r-streamgraph.
Date: Thu, 2 Feb 2023 11:15:04 +0100	[thread overview]
Message-ID: <20230202101504.22751-1-navid.afkhami@mdc-berlin.de> (raw)

* gnu/packages/bioinformatics.scm (r-streamgraph): New variable.
---
 gnu/packages/bioinformatics.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8c75607a65..714db27c16 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -690,6 +690,39 @@ (define-public r-rhtslib12
 developers of other R packages who wish to make use of HTSlib.")
       (license license:lgpl2.0+))))
 
+(define-public r-streamgraph
+  (let ((commit "76f7173ec89d456ace5943a512e20b1f6810bbcb")
+        (revision "1"))
+    (package
+      (name "r-streamgraph")
+      (version (git-version "0.9.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/hrbrmstr/streamgraph")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "010rhnby5a9dg08jvlkr65b3p9iipdxi2f5m1k6j53s80p25yvig"))))
+      (properties `((upstream-name . "streamgraph")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-dplyr
+                               r-htmltools
+                               r-htmlwidgets
+                               r-magrittr
+                               r-tidyr
+                               r-xts))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/hrbrmstr/streamgraph")
+      (synopsis "This is an htmlwidget for building streamgraph visualizations")
+      (description
+       "A streamgraph is a type of stacked area chart.
+It represents the evolution of a numeric variable for several groups.
+Areas are usually displayed around a central axis, and edges are rounded
+to give a flowing shape.")
+      (license license:expat))))
+
 (define-public pbbam
   (package
     (name "pbbam")
-- 
2.34.1





             reply	other threads:[~2023-02-02 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-02 10:15 Navid Afkhami [this message]
2023-02-02 23:24 ` bug#61224: [PATCH] gnu: Add r-streamgraph Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230202101504.22751-1-navid.afkhami@mdc-berlin.de \
    --to=navid.afkhami@mdc-berlin.de \
    --cc=61224@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.