Subject: [bug#65530] [PATCH] gnu: Add r-classdiscovery.

From: Navid Afkhami <[email-masked]>
Date: Mon, 28 Aug 2023 12:34:18 +0000

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

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 0e01f3115d..81fe723779 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -13924,6 +13924,31 @@ (define-public r-enrichplot
 All the visualization methods are developed based on ggplot2 graphics.")
     (license license:artistic2.0)))
 
+;; This is a CRAN package, but it depends on Bioconductor packages and module.
+;; That is why we added it here!
+(define-public r-classdiscovery
+  (package
+    (name "r-classdiscovery")
+    (version "3.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "ClassDiscovery" version))
+              (sha256
+               (base32
+                "06l7jvpcdynij05hb0ka33zpg7xdyqyzfzx24s0bnlspp83yc62s"))))
+    (properties `((upstream-name . "ClassDiscovery")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-biobase r-cluster r-mclust r-oompabase
+                             r-oompadata))
+    (home-page "http://oompa.r-forge.r-project.org/")
+    (synopsis
+     "Classes and Methods for \"Class Discovery\" with Microarrays or Proteomics")
+    (description
+     "This package defines classes for \"class discovery\" in OOMPA project.
+Class discovery primarily consists of unsupervised clustering methods
+with attempts to assess their statistical significance.")
+    (license license:asl2.0)))
+
 (define-public r-clusterprofiler
   (package
     (name "r-clusterprofiler")

base-commit: 4a49a89b09d07d96f4d6ef3c0ca93801370f7b20
-- 
2.34.1