Skip to content

Commit

Permalink
version bump + add ggnewscale import
Browse files Browse the repository at this point in the history
  • Loading branch information
fame2827 committed Oct 28, 2024
1 parent 9ea5e32 commit cdc223d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: spicyR
Type: Package
Title: Spatial analysis of in situ cytometry data
Version: 1.17.9
Version: 1.17.10
Authors@R: c(
person("Nicolas", "Canete", , "[email protected]", role = "aut"),
person("Ellis", "Patrick", , "[email protected]", role = c("aut", "cre")),
Expand Down
4 changes: 3 additions & 1 deletion R/signifPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#' @import ggthemes
#' @import ggh4x
#' @importFrom grid grobTree polygonGrob gpar
#' @importFrom ggnewscale new_scale
signifPlot <- function(results,
fdr = FALSE,
type = "bubble",
Expand Down Expand Up @@ -206,6 +207,7 @@ draw_key_half_circle = function(data, params, shape) {

#' @import ggthemes
#' @import ggh4x
#' @importFrom ggnewscale new_scale
bubblePlot <- function(test,
fdr,
breaks,
Expand Down Expand Up @@ -409,7 +411,7 @@ bubblePlot <- function(test,
strip.background = element_rect(linewidth = NA),
panel.spacing = unit(0.4, 'lines')
) +
new_scale("fill") +
ggnewscale::new_scale("fill") +
geom_tile(aes(fill = parent), alpha = -1) +
scale_fill_manual(values = contextColours, labels = contextLabels) +
labs(fill = "Context") +
Expand Down

0 comments on commit cdc223d

Please sign in to comment.