ape icon indicating copy to clipboard operation
ape copied to clipboard

axisPhylo() not extending all along the root edge

Open emmanuelparadis opened this issue 10 months ago • 0 comments

This was pointed out by @KlausVigo in #103 :

mytree2 <- read.tree(text = "((((((((((a:1,b:1))))))))));")
mytree2$edge.length <- runif(11)
mytree3 <- collapse.singles(mytree2, TRUE)

layout(matrix(1:2, 2))

plot(mytree2, root.edge = TRUE)
axisPhylo()
plot(mytree3, root.edge = TRUE)
axisPhylo()

In the second plot, the root edge extends far beyond the horizontal scale drawn by axisPhylo().

emmanuelparadis avatar Apr 21 '24 10:04 emmanuelparadis