Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJanvanRossum committed Sep 17, 2024
1 parent 99cb424 commit 01ced0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/createStability.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ plot.stability <- function(x,
## Create static plot.
statDat <- merge(x$static, genoDat, by.x = "Genotype", by.y = "genotype")
plots$p2 <- ggplot2::ggplot(data = statDat,
ggplot2::aes(x = Mean,
ggplot2::aes(x = .data[["Mean"]],
y = sqrt(.data[["Static"]]),
color = .data[[colorGenoBy]])) +
ggplot2::geom_point() +
Expand All @@ -155,7 +155,7 @@ plot.stability <- function(x,
## Create Wricke plot.
wrickeDat <- merge(x$wricke, genoDat, by.x = "Genotype", by.y = "genotype")
plots$p3 <- ggplot2::ggplot(data = wrickeDat,
ggplot2::aes(x = Mean,
ggplot2::aes(x = .data[["Mean"]],
y = sqrt(.data[["Wricke"]]),
color = .data[[colorGenoBy]])) +
ggplot2::geom_point() +
Expand Down

0 comments on commit 01ced0f

Please sign in to comment.