diff options
-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))) |