unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <57341@debbugs.gnu.org>
Cc: rekado@elephly.net
Subject: [bug#57341] [PATCH 2/2] gnu: Add r-ggvenndiagram.
Date: Mon, 22 Aug 2022 14:14:41 +0200	[thread overview]
Message-ID: <20220822121441.2235-2-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20220822121441.2235-1-madalinionel.patrascu@mdc-berlin.de>

* gnu/packages/cran.scm (r-ggvenndiagram): New variable.
---
 gnu/packages/cran.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 2091c258ec..b0debc99ba 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1097,6 +1097,45 @@ (define-public r-ggrastr
 scale-sensitive information.")
     (license license:expat)))
 
+(define-public r-ggvenndiagram
+  (package
+    (name "r-ggvenndiagram")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ggVennDiagram" version))
+       (sha256
+        (base32
+         "1mjs488npnxd53nsw936iw2vzv7z38h8d02pm4lwrz4i83jg3www"))))
+    (properties `((upstream-name . "ggVennDiagram")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-dplyr
+           r-ggplot2
+           r-magrittr
+           r-plotly
+           r-purrr
+           r-rvenn
+           r-sf
+           r-stringr
+           r-tibble))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/gaospecial/ggVennDiagram")
+    (synopsis "Implementention of the Venn diagram using ggplot2")
+    (description
+     "This package implements easy-to-use functions to generate 2-7 sets Venn plot
+in publication quality.  @code{ggVennDiagram} plot Venn using well-defined geometry
+dataset and @code{ggplot2}.  The shapes of 2-4 sets Venn use circles and ellipses,
+while the shapes of 4-7 sets Venn use irregular polygons (4 has both forms), which
+are developed and imported from another package @code{venn}.  We provide internal
+functions to integrate shape data with user provided sets data, and calculated
+the geometry of every regions/intersections of them, then separately plot Venn
+in three components: set edges, set labels, and regions.  From version 1.0, it
+is possible to customize these components as you demand in ordinary @code{ggplot2}
+grammar.")
+    (license license:gpl3)))
+
 (define-public r-lmds
   (package
     (name "r-lmds")
-- 
2.37.2





  reply	other threads:[~2022-08-22 12:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 12:11 [bug#57341] gnu: Add r-ggvenndiagram and r-rvenn MadalinIonel.Patrascu
2022-08-22 12:14 ` [bug#57341] [PATCH 1/2] gnu: Add r-rvenn Mădălin Ionel Patrașcu
2022-08-22 12:14   ` Mădălin Ionel Patrașcu [this message]
2022-08-23 10:05   ` bug#57341: " 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20220822121441.2235-2-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=57341@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).