Re: [R-sig-phylo] distances between the nodes

2017-03-01 Thread Wierzbinska, Justyna
Dear Klaus, Thanks a lot for your help and what is in that case xx and yy? Justyna From: Klaus Schliep [mailto:klaus.schl...@gmail.com] Sent: Friday, February 24, 2017 6:13 PM To: Eduardo Ascarrunz Cc: Wierzbinska, Justyna; r-sig-phylo@r-project.org Subject: Re: [R-sig-phylo] distances between

Re: [R-sig-phylo] distances between the nodes

2017-03-01 Thread Klaus Schliep
Oouups, I forgot a line it should have been library(ape) tree = rtree(5) plot(tree) nodelabels() tiplabels() last_plot = get("last_plot.phylo", envir = .PlotPhyloEnv) The xx and yy are the coordinates of the node (of the last plot) which are the numbers in tree$edge. points(last_plot$xx, last_plo