Skip to content

Commit

Permalink
fix spelling mixtakes
Browse files Browse the repository at this point in the history
  • Loading branch information
ococrook committed Apr 12, 2024
1 parent bd19a04 commit 33aa796
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/rex-plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ plotVolcano <- function(diff_params,
ylab("Probability") +
scale_color_manual(
values = alpha(c("darkred", "darkblue"), 0.5),
labels = c("Deproctetion", "Protection")
labels = c("Deprotection", "Protection")
) +
labs(color = "") +
guides(
Expand Down Expand Up @@ -117,7 +117,7 @@ plotVolcano <- function(diff_params,
ylab("Probability") +
scale_color_manual(
values = alpha(c("darkred", "darkblue"), 0.5),
labels = c("Deproctetion", "Protection")
labels = c("Deprotection", "Protection")
) +
labs(color = "") +
guides(
Expand Down Expand Up @@ -225,7 +225,7 @@ plotButterfly <- function(diff_params,
ylab("Effect Size (TRE)") +
scale_alpha_continuous(range = c(0,1)) +
scale_color_manual(values = c("darkred", "darkblue"),
labels = c("Deprotection", "Proctetion")) +
labels = c("Deprotection", "Protection")) +
labs(color = "", alpha = "Probability") +
guides(alpha = guide_legend(override.aes = list(size = 5)),
color = guide_legend(override.aes = list(size = 5))) +
Expand Down Expand Up @@ -264,7 +264,7 @@ plotButterfly <- function(diff_params,
ylab("Effect Size (ARE)") +
scale_alpha_continuous(range = c(0,1)) +
scale_color_manual(values = c("darkred", "darkblue"),
labels = c("Deprotection", "Proctetion")) +
labels = c("Deprotection", "Protection")) +
labs(color = "", alpha = "Probability") +
guides(alpha = guide_legend(override.aes = list(size = 5)),
color = guide_legend(override.aes = list(size = 5))) +
Expand Down Expand Up @@ -353,7 +353,7 @@ plotTimeAveragedButterfly <- function(diff_params,
ylab("Time Averaged Effect Size (TRE)") +
scale_alpha_continuous(range = c(0,1)) +
scale_color_manual(values = c("darkred", "darkblue"),
labels = c("Deprotection", "Proctetion")) +
labels = c("Deprotection", "Protection")) +
labs(color = "", alpha = "Probability") +
guides(alpha = guide_legend(override.aes = list(size = 5)),
color = guide_legend(override.aes = list(size = 5))) +
Expand Down

0 comments on commit 33aa796

Please sign in to comment.