aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-02-10 21:38:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-02-11 01:03:21 +0100
commitb2dcc4e923516c4b8f721731ebe7e853c36991d4 (patch)
treec9b4b301c45f20b2fe0466bfd7549729b965cfcd /gnu/packages
parentc35364ea0331280e412719518e9c27e9940bedba (diff)
downloadguix-b2dcc4e923516c4b8f721731ebe7e853c36991d4.tar.gz
guix-b2dcc4e923516c4b8f721731ebe7e853c36991d4.zip
gnu: Add r-clustree.
* gnu/packages/cran.scm (r-clustree): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fa991063e2..b26c24ad7f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26581,3 +26581,38 @@ results of the R parser. It supports rendering in HTML and LaTeX markup. It
includes a custom Sweave driver performing syntax highlighting of R code
chunks.")
(license license:gpl3+)))
+
+(define-public r-clustree
+ (package
+ (name "r-clustree")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "clustree" version))
+ (sha256
+ (base32
+ "0lxydy2f83qqd5dhlp2l546jax759l43b29j6g82079yzg1szwsz"))))
+ (properties `((upstream-name . "clustree")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-checkmate" ,r-checkmate)
+ ("r-dplyr" ,r-dplyr)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-ggraph" ,r-ggraph)
+ ("r-ggrepel" ,r-ggrepel)
+ ("r-igraph" ,r-igraph)
+ ("r-rlang" ,r-rlang)
+ ("r-tidygraph" ,r-tidygraph)
+ ("r-viridis" ,r-viridis)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/lazappi/clustree")
+ (synopsis "Visualize clusterings at different resolutions")
+ (description
+ "Deciding what resolution to use can be a difficult question when
+approaching a clustering analysis. One way to approach this problem is to
+look at how samples move as the number of clusters increases. This package
+allows you to produce clustering trees, a visualization for interrogating
+clusterings as resolution increases.")
+ (license license:gpl3)))