Subject: [PATCH 7/7] gnu: Add r-wpm.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Thu, 8 Dec 2022 22:13:22 +0100

* gnu/packages/bioconductor.scm (r-wpm): New variable.
---
 gnu/packages/bioconductor.scm | 42 +++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index c62c5970b8..21b69cab01 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -12244,6 +12244,48 @@ (define-public r-wppi
 scores and a path search algorithm.")
     (license license:expat)))
 
+(define-public r-wpm
+  (package
+    (name "r-wpm")
+    (version "1.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "wpm" version))
+              (sha256
+               (base32
+                "05zpj0i4741xn1g0yhkq3mg9zjppfryrfc47pxnys9bjfij0az52"))))
+    (properties `((upstream-name . "wpm")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-biobase
+           r-cli
+           r-config
+           r-dplyr
+           r-dt
+           r-ggplot2
+           r-golem
+           r-logging
+           r-rcolorbrewer
+           r-rlang
+           r-shiny
+           r-shinycustomloader
+           r-shinydashboard
+           r-shinywidgets
+           r-stringr
+           r-summarizedexperiment))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/HelBor/wpm")
+    (synopsis "Generating well plate maker")
+    (description
+     "The @acronym{WPM, Well-Plate Maker} is a Shiny application deployed as an
+R package.  Functions for a command-line/script use are available.  The WPM allows
+users to generate well plate maps to carry out their experiments while improving
+the handling of batch effects.  In particular, it helps controlling the \"plate
+effect\" thanks to its ability to randomize samples over multiple well plates.
+The algorithm for placing the samples is inspired by the backtracking algorithm:
+the samples are placed at random while respecting specific spatial constraints.")
+    (license license:artistic2.0)))
+
 (define-public r-wrench
   (package
     (name "r-wrench")
-- 
2.38.1