unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Lo <peterloleungyau@gmail.com>
To: 42107@debbugs.gnu.org
Cc: Peter Lo <peterloleungyau@gmail.com>
Subject: [bug#42107] [PATCH 6/6] gnu: Add r-survminer.
Date: Sun, 28 Jun 2020 17:29:44 +0800	[thread overview]
Message-ID: <20200628092944.19939-6-peterloleungyau@gmail.com> (raw)
In-Reply-To: <20200628092944.19939-1-peterloleungyau@gmail.com>

* gnu/packages/cran.scm (r-survminer): New variable.
---
 gnu/packages/cran.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f51e69689b..4b28f25954 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22454,3 +22454,44 @@ implementation of the Shift-Algorithm by Streitberg & Roehmel.")
       "Maximally selected rank statistics with several p-value
 approximations.")
     (license license:gpl2+)))
+
+(define-public r-survminer
+  (package
+    (name "r-survminer")
+    (version "0.4.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "survminer" version))
+        (sha256
+          (base32
+            "1pdj3gs4aii8gn8wf4smbwmjymbzwkjwr3kxf90dxyy6i66mqq3v"))))
+    (properties `((upstream-name . "survminer")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-broom" ,r-broom)
+        ("r-dplyr" ,r-dplyr)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-ggpubr" ,r-ggpubr)
+        ("r-gridextra" ,r-gridextra)
+        ("r-magrittr" ,r-magrittr)
+        ("r-maxstat" ,r-maxstat)
+        ("r-purrr" ,r-purrr)
+        ("r-rlang" ,r-rlang)
+        ("r-scales" ,r-scales)
+        ("r-survival" ,r-survival)
+        ("r-survmisc" ,r-survmisc)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyr" ,r-tidyr)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "http://www.sthda.com/english/rpkgs/survminer/")
+    (synopsis
+      "Drawing Survival Curves using 'ggplot2'")
+    (description
+      "Contains the function @code{ggsurvplot()} for drawing easily
+beautiful and 'ready-to-publish' survival curves with the 'number at
+risk' table and 'censoring count plot'.  Other functions are also
+available to plot adjusted curves for `Cox` model and to visually
+examine 'Cox' model assumptions.")
+    (license license:gpl2)))
-- 
2.17.1





  parent reply	other threads:[~2020-06-28  9:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-28  9:28 [bug#42107] [PATCH] gnu: Add r-survminer and its dependencies Lo Peter
2020-06-28  9:29 ` [bug#42107] [PATCH 1/6] gnu: Add r-km-ci Peter Lo
2020-06-28  9:29   ` [bug#42107] [PATCH 2/6] gnu: Add r-kmsurv Peter Lo
2020-06-28  9:29   ` [bug#42107] [PATCH 3/6] gnu: Add r-survmisc Peter Lo
2020-06-28  9:29   ` [bug#42107] [PATCH 4/6] gnu: Add r-exactranktests Peter Lo
2020-06-28  9:29   ` [bug#42107] [PATCH 5/6] gnu: Add r-maxstat Peter Lo
2020-06-28  9:29   ` Peter Lo [this message]
2020-09-11  9:08 ` bug#42107: [PATCH] gnu: Add r-survminer and its dependencies Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200628092944.19939-6-peterloleungyau@gmail.com \
    --to=peterloleungyau@gmail.com \
    --cc=42107@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).