From 56d12c627d3360fb3c11c23c6c193aa42d9e7c41 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Nov 2023 17:33:02 +0530 Subject: [PATCH] fixing color code. --- R/tm_g_gh_correlationplot.R | 8 ++++---- R/tm_g_gh_density_distribution_plot.R | 8 ++++---- R/tm_g_gh_scatterplot.R | 6 +++--- R/tm_g_gh_spaghettiplot.R | 8 ++++---- man/tm_g_gh_correlationplot.Rd | 8 ++++---- man/tm_g_gh_density_distribution_plot.Rd | 8 ++++---- man/tm_g_gh_scatterplot.Rd | 6 +++--- man/tm_g_gh_spaghettiplot.Rd | 8 ++++---- 8 files changed, 30 insertions(+), 30 deletions(-) diff --git a/R/tm_g_gh_correlationplot.R b/R/tm_g_gh_correlationplot.R index 3bbe0b4e..3df43318 100644 --- a/R/tm_g_gh_correlationplot.R +++ b/R/tm_g_gh_correlationplot.R @@ -60,7 +60,7 @@ #' "B: Placebo" = "Placebo", #' "C: Combination" = "Combination" #' ) -#' color_manual <- c("150mg QD" = "#'000000", "Placebo" = "#'3498DB", "Combination" = "#'E74C3C") +#' color_manual <- c("150mg QD" = "#000000", "Placebo" = "#3498DB", "Combination" = "#E74C3C") #' # assign LOQ flag symbols: circles for "N" and triangles for "Y", squares for "NA" #' shape_manual <- c("N" = 1, "Y" = 2, "NA" = 0) #' @@ -152,9 +152,9 @@ #' yaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), #' trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), #' color_manual = c( -#' "Drug X 100mg" = "#'000000", -#' "Placebo" = "#'3498DB", -#' "Combination 100mg" = "#'E74C3C" +#' "Drug X 100mg" = "#000000", +#' "Placebo" = "#3498DB", +#' "Combination 100mg" = "#E74C3C" #' ), #' shape_manual = c("N" = 1, "Y" = 2, "NA" = 0), #' plot_height = c(500, 200, 2000), diff --git a/R/tm_g_gh_density_distribution_plot.R b/R/tm_g_gh_density_distribution_plot.R index c5019c01..1e282b6c 100644 --- a/R/tm_g_gh_density_distribution_plot.R +++ b/R/tm_g_gh_density_distribution_plot.R @@ -92,11 +92,11 @@ #' xaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), #' trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), #' color_manual = c( -#' "150mg QD" = "#'000000", -#' "Placebo" = "#'3498DB", -#' "Combination" = "#'E74C3C" +#' "150mg QD" = "#000000", +#' "Placebo" = "#3498DB", +#' "Combination" = "#E74C3C" #' ), -#' color_comb = "#'39ff14", +#' color_comb = "#39ff14", #' comb_line = TRUE, #' plot_height = c(500, 200, 2000), #' font_size = c(12, 8, 20), diff --git a/R/tm_g_gh_scatterplot.R b/R/tm_g_gh_scatterplot.R index 34f65217..180b70ca 100644 --- a/R/tm_g_gh_scatterplot.R +++ b/R/tm_g_gh_scatterplot.R @@ -98,9 +98,9 @@ #' yaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), #' trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), #' color_manual = c( -#' "150mg QD" = "#'000000", -#' "Placebo" = "#'3498DB", -#' "Combination" = "#'E74C3C" +#' "150mg QD" = "#000000", +#' "Placebo" = "#3498DB", +#' "Combination" = "#E74C3C" #' ), #' shape_manual = c("N" = 1, "Y" = 2, "NA" = 0), #' plot_height = c(500, 200, 2000), diff --git a/R/tm_g_gh_spaghettiplot.R b/R/tm_g_gh_spaghettiplot.R index 70bcb4bf..2a4d3ee6 100644 --- a/R/tm_g_gh_spaghettiplot.R +++ b/R/tm_g_gh_spaghettiplot.R @@ -137,11 +137,11 @@ #' "NONE" #' ), #' trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), -#' color_comb = "#'39ff14", +#' color_comb = "#39ff14", #' man_color = c( -#' "Combination" = "#'000000", -#' "Placebo" = "#'fce300", -#' "150mg QD" = "#'5a2f5f" +#' "Combination" = "#000000", +#' "Placebo" = "#fce300", +#' "150mg QD" = "#5a2f5f" #' ), #' hline_arb = c(60, 50), #' hline_arb_color = c("grey", "red"), diff --git a/man/tm_g_gh_correlationplot.Rd b/man/tm_g_gh_correlationplot.Rd index 97fc43da..306f46e1 100644 --- a/man/tm_g_gh_correlationplot.Rd +++ b/man/tm_g_gh_correlationplot.Rd @@ -136,7 +136,7 @@ data <- within(data, { "B: Placebo" = "Placebo", "C: Combination" = "Combination" ) - color_manual <- c("150mg QD" = "#'000000", "Placebo" = "#'3498DB", "Combination" = "#'E74C3C") + color_manual <- c("150mg QD" = "#000000", "Placebo" = "#3498DB", "Combination" = "#E74C3C") # assign LOQ flag symbols: circles for "N" and triangles for "Y", squares for "NA" shape_manual <- c("N" = 1, "Y" = 2, "NA" = 0) @@ -228,9 +228,9 @@ app <- teal::init( yaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), color_manual = c( - "Drug X 100mg" = "#'000000", - "Placebo" = "#'3498DB", - "Combination 100mg" = "#'E74C3C" + "Drug X 100mg" = "#000000", + "Placebo" = "#3498DB", + "Combination 100mg" = "#E74C3C" ), shape_manual = c("N" = 1, "Y" = 2, "NA" = 0), plot_height = c(500, 200, 2000), diff --git a/man/tm_g_gh_density_distribution_plot.Rd b/man/tm_g_gh_density_distribution_plot.Rd index 2880bf9e..a81ed9e8 100644 --- a/man/tm_g_gh_density_distribution_plot.Rd +++ b/man/tm_g_gh_density_distribution_plot.Rd @@ -141,11 +141,11 @@ app <- teal::init( xaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), color_manual = c( - "150mg QD" = "#'000000", - "Placebo" = "#'3498DB", - "Combination" = "#'E74C3C" + "150mg QD" = "#000000", + "Placebo" = "#3498DB", + "Combination" = "#E74C3C" ), - color_comb = "#'39ff14", + color_comb = "#39ff14", comb_line = TRUE, plot_height = c(500, 200, 2000), font_size = c(12, 8, 20), diff --git a/man/tm_g_gh_scatterplot.Rd b/man/tm_g_gh_scatterplot.Rd index 21106306..19770aa5 100644 --- a/man/tm_g_gh_scatterplot.Rd +++ b/man/tm_g_gh_scatterplot.Rd @@ -146,9 +146,9 @@ app <- teal::init( yaxis_var = choices_selected(c("AVAL", "BASE", "CHG", "PCHG"), "AVAL"), trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), color_manual = c( - "150mg QD" = "#'000000", - "Placebo" = "#'3498DB", - "Combination" = "#'E74C3C" + "150mg QD" = "#000000", + "Placebo" = "#3498DB", + "Combination" = "#E74C3C" ), shape_manual = c("N" = 1, "Y" = 2, "NA" = 0), plot_height = c(500, 200, 2000), diff --git a/man/tm_g_gh_spaghettiplot.Rd b/man/tm_g_gh_spaghettiplot.Rd index 102be9e3..f5a72c83 100644 --- a/man/tm_g_gh_spaghettiplot.Rd +++ b/man/tm_g_gh_spaghettiplot.Rd @@ -206,11 +206,11 @@ app <- teal::init( "NONE" ), trt_group = choices_selected(c("ARM", "ACTARM"), "ARM"), - color_comb = "#'39ff14", + color_comb = "#39ff14", man_color = c( - "Combination" = "#'000000", - "Placebo" = "#'fce300", - "150mg QD" = "#'5a2f5f" + "Combination" = "#000000", + "Placebo" = "#fce300", + "150mg QD" = "#5a2f5f" ), hline_arb = c(60, 50), hline_arb_color = c("grey", "red"),