Closed SolayMane closed 2 years ago
Either + coord_cartesian(clip="off")
or + ggplot2::xlim(0, 0.06)
. You may need to adjust the 0.06.
See https://support.bioconductor.org/p/72398/ or #34
+ hexpand()
was the best solution
+ coord_cartesian(clip="off")
doesn't seem to work
require(ape)
tr <- rtree(10)
tr$tip.label = gsub('^', 'A long label: ', tr$tip.label)
ggtree(tr) + geom_tiplab() + coord_cartesian(clip="off")
Neither does + ggplot2::xlim(0, 0.08)
(no tree plotted)
Works:
require(ape)
tr <- rtree(10)
tr$tip.label = gsub('^', 'A long label: ', tr$tip.label)
ggtree(tr) + geom_tiplab() + xlim_tree(4)
I have an issue with ggtree when displying my tree with branch.length="none", the tip labels don't appear correctly: