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

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Jul 2023 11:45:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64435: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64435
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add r-dtmm.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Mon, 03 Jul 2023 13:43:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Navid,

thank you for the patch!  I applied it and pushed it to Guix with commit
669f0eaed6310233295fbd0a077afc9ce054c6ab after expanding on the
description a little to turn it into a complete sentence.

-- 
Ricardo

Subject: [PATCH] gnu: Add r-dtmm.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Mon, 3 Jul 2023 11:27:32 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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