ggtree
ggtree copied to clipboard
Update vignette
Hello, I was trying to do a plot following the ggtree advanced vignette, when I received a lot of warnings() related to the use of ggimage, I wonder if you could translate the current code into the appropriate ggimage usage:
set.seed(2015-12-31) tr <- rtree(15) p <- ggtree(tr) a <- runif(14, 0, 0.33) b <- runif(14, 0, 0.33) c <- runif(14, 0, 0.33) d <- 1 - a - b - c dat <- data.frame(a=a, b=b, c=c, d=d) dat$node <- 15+1:14 pies <- nodepie(dat, cols=1:4)#, alpha=.6) this theme was moved to ggimage::theme_transparent and will be removed in next release inset(p, pies) The subview function will be defunct in next release, please use ggimage::geom_subview() instead.
So I think it will be something like: p+ #geom_subview(...) + theme_transparent(...)
I have identical issue. Can you please help me ?