Perfect, thanks. Yan
On 7 Feb 2017, at 13:40, Emmanuel Paradis <emmanuel.para...@ird.fr> wrote: > Hi, > > If you have a single tree (object of class "phylo") > > phy$root.edge <- 0 > > If there are several trees in your NEXUS file (then phy is of class > "multiPhylo"): > > for (i in seq_along(phy)) phy[[i]]$root.edge <- 0 _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/