Skip to content

Commit

Permalink
add mice color to na.value
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneoberman committed Jan 22, 2024
1 parent 340d087 commit 9e79593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/ggmice.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ ggmice <- function(data = NULL,
# create plot
gg <- ggplot2::ggplot(data = mice_data, mapping = mice_mapping) +
ggplot2::scale_color_manual(values = mice_colors,
na.value = "#B61A51B3",
name = "",
drop = FALSE) +
ggplot2::scale_fill_manual(values = mice_colors,
na.value = "#B61A51B3",
name = "",
drop = FALSE) +
theme_mice()
Expand Down

0 comments on commit 9e79593

Please sign in to comment.