[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: Add python-geosketch.
From: |
guix-commits |
Subject: |
02/04: gnu: Add python-geosketch. |
Date: |
Tue, 2 Aug 2022 08:53:23 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 4bc130dcc0608ad01fcf13934a101498018cba99
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Aug 2 13:51:11 2022 +0200
gnu: Add python-geosketch.
* gnu/packages/python-science.scm (python-geosketch): New variable.
---
gnu/packages/python-science.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 2f4f1818f3..ff82a97fc9 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -564,6 +564,29 @@ higher scores.")
analysis} (PCA), SVD, and eigendecompositions via randomized methods")
(license license:bsd-3)))
+(define-public python-geosketch
+ (package
+ (name "python-geosketch")
+ (version "1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "geosketch" version))
+ (sha256
+ (base32
+ "0knch5h0p8xpm8bi3b5mxyaf1ywwimrsdmbnc1xr5icidcv9gzmv"))))
+ (build-system python-build-system)
+ (arguments '(#:tests? #false)) ;there are none
+ (propagated-inputs (list python-fbpca python-numpy python-scikit-learn))
+ (home-page "https://github.com/brianhie/geosketch")
+ (synopsis "Geometry-preserving random sampling")
+ (description "geosketch is a Python package that implements the geometric
+sketching algorithm described by Brian Hie, Hyunghoon Cho, Benjamin DeMeo,
+Bryan Bryson, and Bonnie Berger in \"Geometric sketching compactly summarizes
+the single-cell transcriptomic landscape\", Cell Systems (2019). This package
+provides an example implementation of the algorithm as well as scripts
+necessary for reproducing the experiments in the paper.")
+ (license license:expat)))
+
(define-public python-xarray
(package
(name "python-xarray")