Closed dinhe878 closed 2 years ago
@xiangpin
This issue has been fixed by ggtreeExtra
(>=1.4.1), which is the newest released version.
Thanks a lot for the help. However, my issue persists. I've tried the latest version of ggtreeExtra (1.5.2) and it still produce the same plot with missing scale lines of the boxplot and the warning messages (one extra):
Warning messages: 1: Removed 9 rows containing missing values (geom_segment). 2: Removed 8 rows containing missing values (geom_segment). 3: Removed 7 rows containing missing values (geom_text). 4: Removed 1 rows containing missing values (geom_text).
I ended up instead, using cowplot package to "hard" align the figures.
ggdraw() + draw_plot(g1, x=0, y=.07, width=.3, height=.915) + draw_plot(p1, x=.25, y=0, width=.7, height=1)
But I still think that it'd good to know what went wrong with my previous approach, if possible.
Many thanks again for making these great tools!
Best, Ding
Hi,
I've been struggling to generate a particular composite plot. Nearly all is good except one scale went missing. Hard to explain with text so here are some figures:
Tree figure -
Then combining with a boxplot using geom_fruit -
Finally combining with a barplot using aplot -
As you can see that the scale lines from the "Shannon" boxplot are missing and it returned these warnings:
I even try to manually add vertical lines to the final figure but no luck there. Advice please!
Many thanks! /Ding