all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57341] gnu: Add r-ggvenndiagram and r-rvenn.
@ 2022-08-22 12:11 MadalinIonel.Patrascu
  2022-08-22 12:14 ` [bug#57341] [PATCH 1/2] gnu: Add r-rvenn Mădălin Ionel Patrașcu
  0 siblings, 1 reply; 4+ messages in thread
From: MadalinIonel.Patrascu @ 2022-08-22 12:11 UTC (permalink / raw)
  To: 57341

[-- Attachment #1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #2: Type: text/html, Size: 830 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#57341] [PATCH 1/2] gnu: Add r-rvenn.
  2022-08-22 12:11 [bug#57341] gnu: Add r-ggvenndiagram and r-rvenn MadalinIonel.Patrascu
@ 2022-08-22 12:14 ` Mădălin Ionel Patrașcu
  2022-08-22 12:14   ` [bug#57341] [PATCH 2/2] gnu: Add r-ggvenndiagram Mădălin Ionel Patrașcu
  2022-08-23 10:05   ` bug#57341: [PATCH 1/2] gnu: Add r-rvenn Ricardo Wurmus
  0 siblings, 2 replies; 4+ messages in thread
From: Mădălin Ionel Patrașcu @ 2022-08-22 12:14 UTC (permalink / raw)
  To: 57341; +Cc: rekado

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e03b707162..2091c258ec 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -749,6 +749,42 @@ (define-public r-v8
 WebAssembly engine.")
     (license license:expat)))
 
+(define-public r-rvenn
+  (package
+    (name "r-rvenn")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "RVenn" version))
+       (sha256
+        (base32
+         "016m00xv59lkwm2is32v5nr4lw5a1ymdnz34r3ffflcv9bfrc6n4"))))
+    (properties `((upstream-name . "RVenn")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-ggforce
+           r-ggplot2
+           r-magrittr
+           r-pheatmap
+           r-purrr
+           r-rlang
+           r-vegan))
+    (native-inputs (list r-knitr))
+    (home-page "https://cran.r-project.org/package=RVenn")
+    (synopsis "Set operations for many sets")
+    (description
+     "The base functions for set operations in @code{R} can be used for only two
+sets.  This package @code{RVenn} provides functions for dealing with multiple sets.
+It uses @code{purr} to find the union, intersection and difference of three or
+more sets.  This package also provides functions for pairwise set operations among
+several sets.  Further, based on @code{ggplot2} and @code{ggforce}, a Venn diagram
+can be drawn for two or three sets.  For bigger data sets, a clustered heatmap
+showing the presence or absence of the elements of the sets can be drawn based on
+the @code{pheatmap} package.  Finally, enrichment test can be applied to two sets
+whether an overlap is statistically significant or not.")
+    (license license:gpl3)))
+
 (define-public r-dot
   (package
     (name "r-dot")

base-commit: 706b3ef38b2f7ce9f05aa56e2eaaaf1c19e25f90
-- 
2.37.2





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#57341] [PATCH 2/2] gnu: Add r-ggvenndiagram.
  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
  2022-08-23 10:05   ` bug#57341: [PATCH 1/2] gnu: Add r-rvenn Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Mădălin Ionel Patrașcu @ 2022-08-22 12:14 UTC (permalink / raw)
  To: 57341; +Cc: rekado

* 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#57341: [PATCH 1/2] gnu: Add r-rvenn.
  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   ` [bug#57341] [PATCH 2/2] gnu: Add r-ggvenndiagram Mădălin Ionel Patrașcu
@ 2022-08-23 10:05   ` Ricardo Wurmus
  1 sibling, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2022-08-23 10:05 UTC (permalink / raw)
  To: Mădălin Ionel Patrașcu; +Cc: 57341-done


Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> writes:

> * gnu/packages/cran.scm (r-rvenn): New variable.
[…]
> * gnu/packages/cran.scm (r-ggvenndiagram): New variable.

I applied both.  Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-23 10:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` [bug#57341] [PATCH 2/2] gnu: Add r-ggvenndiagram Mădălin Ionel Patrașcu
2022-08-23 10:05   ` bug#57341: [PATCH 1/2] gnu: Add r-rvenn Ricardo Wurmus

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.