unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66921] [patch] Add r-screpertoire, r-powertcr, r-evmix, r-truncdist and r-evd
@ 2023-11-03 16:27 Mădălin Ionel Patrașcu
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
  0 siblings, 1 reply; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:27 UTC (permalink / raw)
  To: 66921

* gnu/packages/bioconductor.scm (r-screpertoire and r-powertcr): New 
variables.

* gnu/packages/cran.scm (r-evmix, r-truncdist and r-evd): New variable.







^ permalink raw reply	[flat|nested] 7+ messages in thread

* [bug#66921] [PATCH 1/5] gnu: Add r-evd.
  2023-11-03 16:27 [bug#66921] [patch] Add r-screpertoire, r-powertcr, r-evmix, r-truncdist and r-evd Mădălin Ionel Patrașcu
@ 2023-11-03 16:30 ` Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 2/5] gnu: Add r-truncdist Mădălin Ionel Patrașcu
                     ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:30 UTC (permalink / raw)
  To: 66921; +Cc: Ricardo Wurmus

* gnu/packages/cran.scm (r-evd): New variable.

Change-Id: I1f3b2ee5829807f6f76cf87b4df43ae8005688bc
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f2a035555b..b8ae1fad14 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7112,6 +7112,28 @@ (define-public r-etrunct
 which should be seen for details.")
    (license license:expat)))
 
+(define-public r-evd
+  (package
+    (name "r-evd")
+    (version "2.3-6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "evd" version))
+       (sha256
+        (base32 "0wc95hfj0gwkyghipdrhwd3s6q2agh9x2wy6y7dr6mjw7wnmjb36"))))
+    (properties `((upstream-name . "evd")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/package=evd")
+    (synopsis "Functions for extreme value distributions")
+    (description
+     "This package extends simulation, distribution, quantile and density
+functions to univariate and multivariate parametric extreme value distributions,
+and provides fitting functions which calculate maximum likelihood estimates for
+univariate and bivariate maxima models, and for univariate and bivariate
+threshold models.")
+    (license license:gpl3)))
+
 (define-public r-excelr
   (package
     (name "r-excelr")

base-commit: a0a377fdd6c873aeb6340afeddcd23b4ead7657d
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#66921] [PATCH 2/5] gnu: Add r-truncdist.
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
@ 2023-11-03 16:30   ` Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 3/5] gnu: Add r-evmix Mădălin Ionel Patrașcu
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:30 UTC (permalink / raw)
  To: 66921; +Cc: Ricardo Wurmus

* gnu/packages/cran.scm (r-truncdist): New variable.

Change-Id: Icb9f06a36e5ee5a58828dc2f496b71a850a911b9
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b8ae1fad14..d7334963ec 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8856,6 +8856,30 @@ (define-public r-truncnorm
 functions, as well as a random generation function.")
     (license license:gpl2)))
 
+(define-public r-truncdist
+  (package
+    (name "r-truncdist")
+    (version "1.0-2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "truncdist" version))
+       (sha256
+        (base32 "02ihw4ixhadwr3sqm6r264i8vpcaz8pn69vkzabd8fwqvn5vcj5q"))))
+    (properties `((upstream-name . "truncdist")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-evd))
+    (home-page "https://cran.r-project.org/package=truncdist")
+    (synopsis "Truncated random variables")
+    (description
+     "This package provides a collection of tools to evaluate probability density
+functions, cumulative distribution functions, quantile functions and random
+numbers for truncated random variables.  These functions are provided to also
+compute the expected value and variance.  @acronym{Q-Q, quantile–quantile} plots
+can be produced.  All the probability functions in the stats, stats4 and evd
+packages are automatically available for truncation.")
+    (license license:gpl2+)))
+
 (define-public r-rsolnp
   (package
     (name "r-rsolnp")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#66921] [PATCH 3/5] gnu: Add r-evmix.
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 2/5] gnu: Add r-truncdist Mădălin Ionel Patrașcu
@ 2023-11-03 16:30   ` Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 4/5] gnu: Add r-powertcr Mădălin Ionel Patrașcu
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:30 UTC (permalink / raw)
  To: 66921; +Cc: Ricardo Wurmus

* gnu/packages/cran.scm (r-evmix): New variable.

Change-Id: I93152dee218e9cef85dd66e17231f1728f0ffb52
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d7334963ec..bc3158eea6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7134,6 +7134,35 @@ (define-public r-evd
 threshold models.")
     (license license:gpl3)))
 
+(define-public r-evmix
+  (package
+    (name "r-evmix")
+    (version "2.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "evmix" version))
+       (sha256
+        (base32 "02rabc9snci00s1x7h0svfr66lmw1wjcdg0149wc52mnccsdaivf"))))
+    (properties `((upstream-name . "evmix")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-gsl
+           r-mass
+           r-sparsem))
+    (home-page "http://www.math.canterbury.ac.nz/~c.scarrott/evmix.shtml")
+    (synopsis
+     "Extreme value threshold estimation and uncertainty quantification")
+    (description
+     "This package provides the usual distribution functions, maximum likelihood
+inference and model diagnostics for univariate stationary extreme value mixture
+models.  Also, there are provided kernel density estimation including various
+boundary corrected kernel density estimation methods and a wide choice of kernels,
+with cross-validation likelihood based bandwidth estimator.  Reasonable
+consistency with the base functions in the evd package is provided, so that users
+can safely interchange most code.")
+    (license license:gpl3)))
+
 (define-public r-excelr
   (package
     (name "r-excelr")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#66921] [PATCH 4/5] gnu: Add r-powertcr.
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 2/5] gnu: Add r-truncdist Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 3/5] gnu: Add r-evmix Mădălin Ionel Patrașcu
@ 2023-11-03 16:30   ` Mădălin Ionel Patrașcu
  2023-11-03 16:30   ` [bug#66921] [PATCH 5/5] gnu: Add r-screpertoire Mădălin Ionel Patrașcu
  2023-11-04 22:14   ` bug#66921: [PATCH 1/5] gnu: Add r-evd Ricardo Wurmus
  4 siblings, 0 replies; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:30 UTC (permalink / raw)
  To: 66921; +Cc: Ricardo Wurmus

* gnu/packages/bioconductor.scm (r-powertcr): New variable.

Change-Id: I75fc30a7021d6199b768318da3afcfeaaafcf027
---
 gnu/packages/bioconductor.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index d79236ea26..b683868df5 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -9236,6 +9236,37 @@ (define-public r-piano
 set analyses.")
     (license license:gpl2+)))
 
+(define-public r-powertcr
+  (package
+    (name "r-powertcr")
+    (version "1.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (bioconductor-uri "powerTCR" version))
+       (sha256
+        (base32 "06fmphdq95pjbbvm8m8h1wajbp3vhl0zj7ddbzks9fy7ankp1n3i"))))
+    (properties `((upstream-name . "powerTCR")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-cubature
+           r-doparallel
+           r-evmix
+           r-foreach
+           r-magrittr
+           r-purrr
+           r-truncdist
+           r-vegan
+           r-vgam))
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/powerTCR")
+    (synopsis "Model-based comparative analysis of the TCR repertoire")
+    (description
+     "This package provides a model for the clone size distribution of the
+@acronym{TCR, T-cell receptor} repertoire.  Further, it permits comparative
+analysis of TCR repertoire libraries based on theoretical model fits.")
+    (license license:artistic2.0)))
+
 ;; This is a CRAN package, but it depends on a Bioconductor package:
 ;; r-aroma-light, r-dnacopy..
 (define-public r-pscbs
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#66921] [PATCH 5/5] gnu: Add r-screpertoire.
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
                     ` (2 preceding siblings ...)
  2023-11-03 16:30   ` [bug#66921] [PATCH 4/5] gnu: Add r-powertcr Mădălin Ionel Patrașcu
@ 2023-11-03 16:30   ` Mădălin Ionel Patrașcu
  2023-11-04 22:14   ` bug#66921: [PATCH 1/5] gnu: Add r-evd Ricardo Wurmus
  4 siblings, 0 replies; 7+ messages in thread
From: Mădălin Ionel Patrașcu @ 2023-11-03 16:30 UTC (permalink / raw)
  To: 66921; +Cc: Ricardo Wurmus

* gnu/packages/bioconductor.scm (r-screpertoire): New variable.

Change-Id: Iaa876f787d5e39ca2888bf2082da3d7839224e15
---
 gnu/packages/bioconductor.scm | 43 +++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index b683868df5..8306b703de 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -10014,6 +10014,49 @@ (define-public r-scmap
 different experiment.")
     (license license:gpl3)))
 
+(define-public r-screpertoire
+  (package
+    (name "r-screpertoire")
+    (version "1.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (bioconductor-uri "scRepertoire" version))
+       (sha256
+        (base32 "1wgs8dv5zl82iciy86w5ws1gq8v2piklcifbw7gmbw60kijyr2l1"))))
+    (properties `((upstream-name . "scRepertoire")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-doparallel
+           r-dplyr
+           r-ggalluvial
+           r-ggplot2
+           r-ggraph
+           r-igraph
+           r-plyr
+           r-powertcr
+           r-reshape2
+           r-rlang
+           r-seuratobject
+           r-singlecellexperiment
+           r-stringdist
+           r-stringr
+           r-summarizedexperiment
+           r-tidygraph
+           r-vegan))
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/scRepertoire")
+    (synopsis "Toolkit for single-cell immune receptor profiling")
+    (description
+     "The scRepertoire package was built to process data derived from the 10x
+Genomics Chromium Immune Profiling for both @acronym{TCR, T-cell receptor} and
+@acronym{Ig, immunoglobulin} enrichment workflows and subsequently interacts with
+the popular Seurat and SingleCellExperiment R packages.  It also allows for
+general analysis of single-cell clonotype information without the use of
+expression information.  The package functions as a wrapper for Startrac and
+powerTCR R packages.")
+    (license license:gpl2)))
+
 (define-public r-scry
   (package
     (name "r-scry")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#66921: [PATCH 1/5] gnu: Add r-evd.
  2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
                     ` (3 preceding siblings ...)
  2023-11-03 16:30   ` [bug#66921] [PATCH 5/5] gnu: Add r-screpertoire Mădălin Ionel Patrașcu
@ 2023-11-04 22:14   ` Ricardo Wurmus
  4 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2023-11-04 22:14 UTC (permalink / raw)
  To: Mădălin Ionel Patrașcu; +Cc: 66921-done


Thanks for the patches.  I’ve applied the series.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-04 22:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 16:27 [bug#66921] [patch] Add r-screpertoire, r-powertcr, r-evmix, r-truncdist and r-evd Mădălin Ionel Patrașcu
2023-11-03 16:30 ` [bug#66921] [PATCH 1/5] gnu: Add r-evd Mădălin Ionel Patrașcu
2023-11-03 16:30   ` [bug#66921] [PATCH 2/5] gnu: Add r-truncdist Mădălin Ionel Patrașcu
2023-11-03 16:30   ` [bug#66921] [PATCH 3/5] gnu: Add r-evmix Mădălin Ionel Patrașcu
2023-11-03 16:30   ` [bug#66921] [PATCH 4/5] gnu: Add r-powertcr Mădălin Ionel Patrașcu
2023-11-03 16:30   ` [bug#66921] [PATCH 5/5] gnu: Add r-screpertoire Mădălin Ionel Patrașcu
2023-11-04 22:14   ` bug#66921: [PATCH 1/5] gnu: Add r-evd Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).