Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated warning #107

Open
Shashankti opened this issue Nov 23, 2022 · 2 comments
Open

Deprecated warning #107

Shashankti opened this issue Nov 23, 2022 · 2 comments

Comments

@Shashankti
Copy link

Hello,

I just wanted to inform you about a warning which pops up when you use the shape argument.

<warning/lifecycle_warning_deprecated>
Warning:
The `guide` argument in `scale_*()` cannot be `FALSE`. This was deprecated in ggplot2 3.3.4.
ℹ Please use "none" instead.
ℹ The deprecated feature was likely used in the EnhancedVolcano package.
  Please report the issue to the authors.
---
Backtrace:
 1. base (local) `<fn>`(x)
 2. ggplot2:::print.ggplot(x)
 4. ggplot2:::ggplot_gtable.ggplot_built(data)
 5. ggplot2:::build_guides(...)
 6. ggplot2:::guides_train(...)
 7. ggplot2:::deprecate_warn0(...)
@kevinblighe
Copy link
Owner

Thank you @Shashankti, for reporting. I will make the update.

@ghost
Copy link

ghost commented Feb 27, 2023

EnhancedVolcano(res,

  •               lab = rownames(res),
    
  •               x = 'log2FoldChange',
    
  •               y = 'pvalue',
    
  •               selectLab = c('TMEM176B','ADH1A'),
    
  •               xlab = bquote(~Log[2]~ 'fold change'),
    
  •               pCutoff = 10e-14,
    
  •               FCcutoff = 2.0,
    
  •               pointSize = 4.0,
    
  •               labSize = 6.0,
    
  •               shape = c(4, 35, 17, 18),
    
  •               colAlpha = 1,
    
  •               legendPosition = 'right',
    
  •               legendLabSize = 14,
    
  •               legendIconSize = 5.0)
    

Warning message:
The guide argument in scale_*() cannot be FALSE. This was deprecated in
ggplot2 3.3.4.
ℹ Please use "none" instead.
ℹ The deprecated feature was likely used in the EnhancedVolcano package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was
generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants