EnhancedVolcano icon indicating copy to clipboard operation
EnhancedVolcano copied to clipboard

Deprecated warning

Open Shashankti opened this issue 1 year ago • 2 comments

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(...)

Shashankti avatar Nov 23 '22 14:11 Shashankti

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

kevinblighe avatar Feb 17 '23 20:02 kevinblighe

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.

ghost avatar Feb 27 '23 21:02 ghost