## eventually adding the branch length to the other one
## also coming from the root.
## In all cases, the node deleted is the 2nd one (numbered
- ## nb.tip+2 in `edge'), so we simply need to renumber the
+ ## nb.tip+2 in 'edge'), so we simply need to renumber the
## nodes by adding 1, except the root (this remains the
## origin of the tree).
nb.tip <- length(phy$tip.label)
}
phy$Nnode <- phy$Nnode - 1L
if (!is.null(phy$node.label))
- phy$node.label <- phy$node.label[-2]
+ phy$node.label <- phy$node.label[-2]
phy
}