Subject: [bug#64435] [PATCH] gnu: Add r-dtmm.

From: Navid Afkhami <[email-masked]>
Date: Mon, 3 Jul 2023 11:27:32 +0000

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f3ea86544d..0f3f64b98f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14644,6 +14644,30 @@ (define-public r-disgenet2r
 to retrieve data from DisGeNET v6.0 (Jan, 2019).")
       (license license:expat))))
 
+(define-public r-dtmm
+  (let ((commit "3a553b1e17d27d90a496d2e23e98e5dfe4abc266")
+        (revision "1"))
+    (package
+      (name "r-dtmm")
+      (version (git-version "0.1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/MaStatLab/DTMM")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "19279wafqfs9gk9489f8zsp52qcdb0mkxgvqszq4i733ckr2mmkk"))))
+      (properties `((upstream-name . "DTMM")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-ape r-rcpp r-rcpparmadillo))
+      (home-page "https://github.com/MaStatLab/DTMM")
+      (synopsis "Dirichlet-tree multinomial mixtures")
+      (description
+       "Dirichlet-tree multinomial mixtures for clustering microbiome compositions.")
+      (license license:cc0))))
+
 (define-public r-dyngen
   (package
     (name "r-dyngen")

base-commit: 29ccd7cac93da290e1d0466a1d33748ad4ccbf08
-- 
2.34.1