Hello,
I am trying to add lines between the tips of my tree and the outside ring in a circular tree and I do not want to display my tip labels. I know I can add a dotted line using `geom_tiplab2` and setting the `align` parameter to TRUE, but that still shows the tip labels (even if I set the size to 0, they become tiny but visible). Does anyone know a better way please? Please see my below example code and associated plot:
library(tidyverse)
library(ggtree)
library(ggtreeExtra)
set.seed(1024)
tr <- rtree(100)
dd = data.frame(id=tr$tip.label, value=abs(rnorm(100)))
dt = data.frame(id=tr$tip.label, group=c(rep("A",50),rep("B",50)))
ddt = left_join(dd, dt)
ggtree(tr, layout="circular") +
geom_fruit(data = ddt,
geom = geom_col,
mapping = aes(x=value, y= id, fill=group)) +
geom_tiplab2(size = 0, align = TRUE)