ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

How to add a ggtree to a existed ggplot object?

Open awesomedeer opened this issue 5 years ago • 2 comments
trafficstars

Hi Guangchuang ggtree is awesome! I have a ggtree object and a ggplot object. How to overlap these two? No need to care about the labels. I just want map two plot together not combine two side by side like using patchwork.

awesomedeer avatar Apr 05 '20 12:04 awesomedeer

have no idea of what 'add' means.

GuangchuangYu avatar Apr 07 '20 09:04 GuangchuangYu

You can use the tree layer function geom_tree to add tree layers to ggplot objects.

brj1 avatar Apr 07 '20 16:04 brj1