diff options
| -rw-r--r-- | gn/packages/genenetwork-rust.scm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gn/packages/genenetwork-rust.scm b/gn/packages/genenetwork-rust.scm index 78e9130..8ddd89c 100644 --- a/gn/packages/genenetwork-rust.scm +++ b/gn/packages/genenetwork-rust.scm @@ -581,19 +581,24 @@ quantitative trait loci (QTL) in genetic datasets.") (license license:agpl3+)))) (define-public gn-rust-correlation - (let ((commit "473ad82b6f4477bbbeeef977e3e9f830f59a9b7f") - (revision "1")) + ;; 12c2a37 makes `Spearman' public, so a caller holding two value vectors can + ;; compute the rank correlation without going through `Compute' -- which means + ;; writing the dataset to a file and reading the result out of a CSV. That is + ;; what genenetwork4's /compute/correlation needs for its in-memory path; see + ;; its docs/correlations.md. + (let ((commit "12c2a37c3ef3a09f1ab0c5ea69b31b433b15f9f6") + (revision "2")) (package (name "gn-rust-correlation") (version (git-version "0.1.4" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/Alexanderlacuna/correlation_rust") + (url "https://git.genenetwork.org/correlation_rust") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "1xlasa4ggyynmnm890i7zlsqds7jfclmh5s6p582xlfdf75k9h5z")))) + (base32 "15wxzbzf7l4qvfdjd5y51ymjg1knvy74xndlzdhh9gn53sm1a20b")))) (build-system cargo-build-system) (native-inputs (list gsl)) (arguments (list #:install-source? #f)) |
