[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: Add r-leidenalg.
From: |
guix-commits |
Subject: |
04/08: gnu: Add r-leidenalg. |
Date: |
Wed, 1 Mar 2023 07:47:16 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit e59eb3fe63a5b0b73592c7c07f85dae90d785de0
Author: Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>
AuthorDate: Mon Feb 27 11:28:42 2023 +0100
gnu: Add r-leidenalg.
* gnu/packages/cran.scm (r-leidenalg): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
---
gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ceb84ba823..a1da9d229e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23348,6 +23348,41 @@ graph into communities. See also Traag et al (2018)
\"From Louvain to Leiden:
guaranteeing well-connected communities.\" <arXiv:1810.08473>.")
(license license:gpl3)))
+(define-public r-leidenalg
+ (package
+ (name "r-leidenalg")
+ (version "1.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "leidenAlg" version))
+ (sha256
+ (base32 "1z96zrsms93gspylmficaggb0xj94kq9rg3p2svdbb451jbga9an"))))
+ (properties `((upstream-name . "leidenAlg")))
+ (build-system r-build-system)
+ (inputs
+ (list glpk gmp libxml2))
+ (propagated-inputs
+ (list r-igraph
+ r-matrix
+ r-rcpp
+ r-rcpparmadillo
+ r-rcppeigen
+ r-sccore))
+ (native-inputs (list gfortran))
+ (home-page "https://github.com/kharchenkolab/leidenAlg")
+ (synopsis "Leiden algorithm via an R interface")
+ (description
+ "This package implements an R interface to the Leiden algorithm, an
+iterative community detection algorithm on networks. The algorithm is
+designed to converge to a partition in which all subsets of all communities
+are locally optimally assigned, yielding communities guaranteed to be
+connected. The implementation proves to be fast, scales well, and can be run
+on graphs of millions of nodes (as long as they can fit in memory).")
+ ;; The DESCRIPTION file says GPL-3, but the code was copied from
+ ;; https://github.com/vtraag/leidenalg, which is under GPLv3+.
+ (license license:gpl3+)))
+
(define-public r-patchwork
(package
(name "r-patchwork")
- branch master updated (2eb750ab1f -> 1fb43d1d19), guix-commits, 2023/03/01
- 02/08: gnu: Add r-n2r., guix-commits, 2023/03/01
- 06/08: gnu: Add r-dendsort., guix-commits, 2023/03/01
- 01/08: gnu: Add r-rcppspdlog., guix-commits, 2023/03/01
- 05/08: gnu: Add r-drat., guix-commits, 2023/03/01
- 07/08: gnu: Add r-pagoda2., guix-commits, 2023/03/01
- 03/08: gnu: Add r-sccore., guix-commits, 2023/03/01
- 04/08: gnu: Add r-leidenalg.,
guix-commits <=
- 08/08: gnu: Add r-conos., guix-commits, 2023/03/01