Skip to content

The <scale> argument of guides() cannot be FALSE. Use "none" instead as of ggplot2 3.3.4. #9794

Open
@Ck-boo

Description

@Ck-boo

Issue Description

Hello,

During the "Introduction to Integration" tutorial, at the step:
p1 <- CellScatter(aggregate_ifnb, "CD14 Mono_CTRL", "CD14 Mono_STIM", highlight = genes.to.label)

I received the following message, which informed me to report it here. There you have it :)

The <scale> argument of guides() cannot be FALSE. Use "none" instead as of ggplot2 3.3.4.
ℹ The deprecated feature was likely used in the Seurat package.
Please report the issue at https://github.com/satijalab/seurat/issues.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Reproducing Code Example

The `<scale>` argument of `guides()` cannot be `FALSE`. Use "none" instead as of ggplot2 3.3.4.The deprecated feature was likely used in the Seurat package.
  Please report the issue at <https://github.com/satijalab/seurat/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.

Error Message

Additional Comments

No response

Session Info

R version 4.4.3 (2025-02-28 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] cowplot_1.1.3         ggplot2_3.5.1         patchwork_1.3.0       ifnb.SeuratData_3.1.0
[5] SeuratData_0.2.2.9001 Seurat_5.2.1          SeuratObject_5.0.2    sp_2.2-0             

loaded via a namespace (and not attached):
  [1] deldir_2.0-4           pbapply_1.7-2          gridExtra_2.3          rlang_1.1.4           
  [5] magrittr_2.0.3         RcppAnnoy_0.0.22       matrixStats_1.4.1      ggridges_0.5.6        
  [9] compiler_4.4.3         spatstat.geom_3.3-4    png_0.1-8              vctrs_0.6.5           
 [13] reshape2_1.4.4         stringr_1.5.1          crayon_1.5.3           pkgconfig_2.0.3       
 [17] fastmap_1.2.0          labeling_0.4.3         promises_1.3.2         purrr_1.0.2           
 [21] jsonlite_1.8.9         goftest_1.2-3          later_1.3.2            spatstat.utils_3.1-3  
 [25] irlba_2.3.5.1          parallel_4.4.3         cluster_2.1.8          R6_2.6.1              
 [29] ica_1.0-3              stringi_1.8.4          RColorBrewer_1.1-3     spatstat.data_3.1-6   
 [33] reticulate_1.40.0      parallelly_1.42.0      spatstat.univar_3.1-1  lmtest_0.9-40         
 [37] scattermore_1.2        Rcpp_1.0.13-1          tensor_1.5             future.apply_1.11.3   
 [41] zoo_1.8-12             sctransform_0.4.1      httpuv_1.6.15          Matrix_1.7-2          
 [45] splines_4.4.3          igraph_2.1.1           tidyselect_1.2.1       rstudioapi_0.17.1     
 [49] abind_1.4-8            spatstat.random_3.3-2  codetools_0.2-20       miniUI_0.1.1.1        
 [53] spatstat.explore_3.3-3 listenv_0.9.1          lattice_0.22-6         tibble_3.2.1          
 [57] plyr_1.8.9             withr_3.0.2            shiny_1.10.0           ROCR_1.0-11           
 [61] Rtsne_0.17             future_1.34.0          fastDummies_1.7.5      survival_3.8-3        
 [65] polyclip_1.10-7        fitdistrplus_1.2-2     pillar_1.10.1          KernSmooth_2.23-26    
 [69] plotly_4.10.4          generics_0.1.3         RcppHNSW_0.6.0         munsell_0.5.1         
 [73] scales_1.3.0           globals_0.16.3         xtable_1.8-4           glue_1.8.0            
 [77] lazyeval_0.2.2         tools_4.4.3            data.table_1.16.2      RSpectra_0.16-2       
 [81] RANN_2.6.2             dotCall64_1.2          grid_4.4.3             tidyr_1.3.1           
 [85] colorspace_2.1-1       nlme_3.1-167           cli_3.6.3              rappdirs_0.3.3        
 [89] spatstat.sparse_3.1-0  spam_2.11-1            viridisLite_0.4.2      dplyr_1.1.4           
 [93] uwot_0.2.2             gtable_0.3.6           digest_0.6.37          progressr_0.15.1      
 [97] ggrepel_0.9.6          htmlwidgets_1.6.4      farver_2.1.2           htmltools_0.5.8.1     
[101] lifecycle_1.0.4        httr_1.4.7             mime_0.12              MASS_7.3-64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions