Subject: [PATCH 08/11] gnu: Add r-flowpeaks.

From: zimoun <[email-masked]>
Date: Wed, 24 Jul 2019 20:22:01 +0200

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

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 0f023665c2..ab4d9f4075 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -4907,3 +4907,26 @@ and to both short and long sequence reads.")
     (description
       "Identifies cell populations in Flow Cytometry data using non-parametric clustering and segmented-regression-based change point detection.  Note: R 2.11.0 or newer is required.")
     (license license:artistic2.0)))
+
+(define-public r-flowpeaks
+  (package
+    (name "r-flowpeaks")
+    (version "1.30.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (bioconductor-uri "flowPeaks" version))
+        (sha256
+          (base32
+            "1ncz7n6n39svi444yy29ip53398392s3m6z0h2a77rhcnzg456wy"))))
+    (properties `((upstream-name . "flowPeaks")))
+    (build-system r-build-system)
+    (inputs `(("gsl" ,gsl)))
+    (home-page
+      "https://bioconductor.org/packages/flowPeaks")
+    (synopsis
+      "An R package for flow data clustering")
+    (description
+      "This package provides a fast and automatic clustering to classify the cells into subpopulations based on finding the peaks from the overall density function generated by K-means.")
+    (license license:artistic2.0)))     ;TODO: artistic1.0 does not exist
+
-- 
2.21.0