Skip to content

Commit

Permalink
min_score instead minscore
Browse files Browse the repository at this point in the history
  • Loading branch information
wolski committed Jan 23, 2024
1 parent 09654d5 commit 0551c90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 5 additions & 4 deletions R/ContrastsPlotter.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# ContrastsPlotter ----
#' plot contrasts
#'
#' @export
#' @family modelling
#' @family plotting
Expand Down Expand Up @@ -156,7 +157,7 @@ ContrastsPlotter <- R6::R6Class(
volcano = function(colour,
legend = TRUE,
scales = c("fixed","free","free_x","free_y"),
minscore = 0.0001){
min_score = 0.0001){
if (missing(colour)) {
colour <- self$modelName
}
Expand All @@ -166,7 +167,7 @@ ContrastsPlotter <- R6::R6Class(
colour = colour,
legend = legend,
scales = scales,
minscore = minscore)
min_score = min_score)
return(fig)
},
#' @description
Expand All @@ -178,7 +179,7 @@ ContrastsPlotter <- R6::R6Class(
volcano_plotly = function(colour,
legend = TRUE,
scales = c("fixed","free","free_x","free_y"),
minscore = 0.0001){
min_score = 0.0001){
if (missing(colour)) {
colour <- self$modelName
}
Expand All @@ -189,7 +190,7 @@ ContrastsPlotter <- R6::R6Class(
legend = legend,
scales = scales,
plotly = TRUE,
minscore = minscore)
min_score = min_score)
return(res)
},
#' @description
Expand Down
6 changes: 4 additions & 2 deletions man/ContrastsPlotter.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0551c90

Please sign in to comment.