Skip to content

Commit 8004dd4

Browse files
committed
fix deprecation warning when using element_lines()
1 parent 05a5a9b commit 8004dd4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@
1212

1313
# IntaRNA
1414

15+
# IntaRNA_plotRegions.R
16+
17+
- fix deprecation warning
18+
1519
################################################################################
1620
################################################################################
1721

18-
22+
250213 Martin Raden
23+
* R/IntaRNA_plotRegions.R
24+
* fix deprecation warning when using element_lines() with ggplot >= 3.4.0
1925

2026
################################################################################
2127
### version 3.4.1

R/IntaRNA_plotRegions.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ regionPlot =
158158
ylab("") +
159159
scale_y_discrete(position = "right", breaks=dRegion$idx, labels=dRegion$id) +
160160
geom_vline(aes(xintercept=(xmin))) +
161-
theme(panel.grid.major.y=element_line(size=0.7,color="lightgray")
161+
theme(panel.grid.major.y=element_line(linewidth=0.7,color="lightgray")
162162
, axis.text.y=element_text(size=rel(yLabelScale))
163163
#, plot.title = element_blank()
164164
)

0 commit comments

Comments
 (0)