diff --git a/ChangeLog b/ChangeLog index 02c624a..230bb9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,10 +12,16 @@ # IntaRNA +# IntaRNA_plotRegions.R + +- fix deprecation warning + ################################################################################ ################################################################################ - +250213 Martin Raden + * R/IntaRNA_plotRegions.R + * fix deprecation warning when using element_lines() with ggplot >= 3.4.0 ################################################################################ ### version 3.4.1 diff --git a/R/IntaRNA_plotRegions.R b/R/IntaRNA_plotRegions.R index bf7306b..a805f5e 100644 --- a/R/IntaRNA_plotRegions.R +++ b/R/IntaRNA_plotRegions.R @@ -158,7 +158,7 @@ regionPlot = ylab("") + scale_y_discrete(position = "right", breaks=dRegion$idx, labels=dRegion$id) + geom_vline(aes(xintercept=(xmin))) + - theme(panel.grid.major.y=element_line(size=0.7,color="lightgray") + theme(panel.grid.major.y=element_line(linewidth=0.7,color="lightgray") , axis.text.y=element_text(size=rel(yLabelScale)) #, plot.title = element_blank() )