[Phylobase-commits] r383 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Dec 21 05:42:09 CET 2008


Author: pdc
Date: 2008-12-21 05:42:09 +0100 (Sun, 21 Dec 2008)
New Revision: 383

Modified:
   pkg/R/treePlot.R
Log:
update plot for new reorder syntax

Modified: pkg/R/treePlot.R
===================================================================
--- pkg/R/treePlot.R	2008-12-21 04:41:44 UTC (rev 382)
+++ pkg/R/treePlot.R	2008-12-21 04:42:09 UTC (rev 383)
@@ -327,7 +327,7 @@
         ## 0, 1, length.out = Ntips) 
     # } else {
         ## reoder the phylo and assign even y spacing to the tips
-        phy <- reorder(phy, 'pruningwise')
+        phy <- reorder(phy, 'postorder')
         xxyy$yy[phy at edge[, 2] <= Ntips] <- seq(
             0, 1, length.out = Ntips
         )



More information about the Phylobase-commits mailing list