diff options
author | Frederick Muriuki Muriithi | 2025-08-07 09:22:54 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-08-11 11:04:44 -0500 |
commit | 5769fce6de1745805566d63ee4376186792d401b (patch) | |
tree | 9c7afcee209f417747755542361aee9838a30538 | |
parent | b7f3ed2c1f3a223525d870ddcbdc4ce9b13240a4 (diff) | |
download | guix-bioinformatics-5769fce6de1745805566d63ee4376186792d401b.tar.gz |
python-rpy2-rinterface: package.
* gn/packages/statistics.scm (python-rpy2-rinterface): new package.
-rw-r--r-- | gn/packages/statistics.scm | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/gn/packages/statistics.scm b/gn/packages/statistics.scm index e351933..fab71c7 100644 --- a/gn/packages/statistics.scm +++ b/gn/packages/statistics.scm @@ -15,7 +15,15 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages statistics) #:use-module (gnu packages cran) - #:use-module (past packages python27)) + #:use-module (past packages python27) + + ;; for python-rpy2 and dependencies + #:use-module (gnu packages python-build) + #:use-module (guix build-system pyproject); python-rpy2-rinterface + #:use-module (gnu packages libffi); python-rpy2-rinterface + #:use-module (gnu packages check); python-rpy2-rinterface + #:use-module (gnu packages compression); python-rpy2-rinterface + #:use-module (gnu packages icu4c); python-rpy2-rinterface (define-public r-hmisc-3 (package @@ -150,3 +158,36 @@ traits (CTL). The additional correlation information obtained can be combined with QTL information to perform de novo reconstruction of interaction networks.") (license license:gpl3))) + + +(define-public python-rpy2-rinterface + (package + (name "python-rpy2-rinterface") + (version "3.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rpy2_rinterface" version)) + (sha256 + (base32 "1hjnc4143dvcrp9m4vnxm4fs2ahiagp5lklsqp1nki341kh0samn")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-cffi + python-packaging + ;;python-backports-zoneinfo ; needed for python_version<3.9 + r-minimal)) + (native-inputs (list zlib + icu4c + libdeflate + python-cffi + python-coverage + python-packaging + python-pytest + python-pytest-cov + python-setuptools + python-wheel + r-survival)) + (home-page "https://rpy2.github.io/") + (synopsis "Low-level interface from Python to the R") + (description "Low-level interface for rpy2. rpy2 is an interface to R + running embedded in a Python process.") + (license license:gpl2))) |