summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-03-15 12:15:18 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-03-15 12:15:18 +0100
commit3eeb7dbf04b5ee3120b3ebcf264d54a56ad934e2 (patch)
tree9bfac3b6f4cf51a8d1f4834aee653d0514bd4d9e /gnu/packages/cran.scm
parent1daedaa8646696783c88553e03035d547fd001ca (diff)
downloadguix-3eeb7dbf04b5ee3120b3ebcf264d54a56ad934e2.tar.gz
gnu: r-gkmsvm: Move back to (gnu packages cran).
* gnu/packages/bioconductor.scm (r-gkmsvm): Move this variable from here...
* gnu/packages/cran.scm (r-gkmsvm): ...to here.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5854ff6031..30c346d0c1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16471,6 +16471,32 @@ visualizations and provides the same flexible approach to building up plots
 layer by layer.")
     (license license:gpl3)))
 
+(define-public r-gkmsvm
+  (package
+    (name "r-gkmsvm")
+    (version "0.81.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "gkmSVM" version))
+       (sha256
+        (base32
+         "119g5rhc7ffyviz04r04aj5z1g6abnj3ddd01g7db505sdr6lapj"))))
+    (properties `((upstream-name . "gkmSVM")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-kernlab" ,r-kernlab)
+       ("r-rcpp" ,r-rcpp)
+       ("r-rocr" ,r-rocr)
+       ("r-seqinr" ,r-seqinr)))
+    (home-page "https://cran.r-project.org/web/packages/gkmSVM")
+    (synopsis "Gapped-kmer support vector machine")
+    (description
+     "This R package provides tools for training gapped-kmer SVM classifiers
+for DNA and protein sequences.  This package supports several sequence
+kernels, including: gkmSVM, kmer-SVM, mismatch kernel and wildcard kernel.")
+    (license license:gpl2+)))
+
 (define-public r-varselrf
   (package
     (name "r-varselrf")