Subject: [PATCH] gnu: Add r-anf.
From: Mădălin Ionel Patrașcu<[email-masked]>
To: <[email-masked]>
Date: Fri, 17 Jun 2022 11:53:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 1e87b190c2..abdca11897 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -2029,6 +2029,34 @@ (define-public r-aneufinder
 sequencing data.")
     (license license:artistic2.0)))
 
+(define-public r-anf
+  (package
+    (name "r-anf")
+    (version "1.18.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "ANF" version))
+              (sha256
+               (base32
+                "1fa2pbdapymrpz01ws0m2fbzf11d723x6rbsys29v06is57f5lpj"))))
+    (properties `((upstream-name . "ANF")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-biobase
+           r-igraph
+           r-mass
+           r-rcolorbrewer
+           r-survival))
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/ANF")
+    (synopsis "Affinity network fusion for complex patient clustering")
+    (description
+     "The package @dfn{ANF}(Affinity Network Fusion) provides methods for affinity
+matrix construction and fusion as well as spectral clustering.  This package is
+used for complex patient clustering by integrating multi-omic data through affinity
+network fusion.")
+    (license license:gpl3)))
+
 (define-public r-biocversion
   (package
     (name "r-biocversion")

base-commit: ef2d908e22f9d4f4a89782766b67d425935ae4eb
-- 
2.36.1