Browse code

keep tree order #157

guangchuang yu authored on 06/12/2017 02:01:19
Showing2 changed files

... ...
@@ -1,5 +1,7 @@
1 1
 CHANGES IN VERSION 1.11.2
2 2
 ------------------------
3
+ o keep tree order (previously using postorder) <2017-12-06-Wed>
4
+   + https://github.com/GuangchuangYu/ggtree/issues/157
3 5
  o remove beast object support as read.beast output treedata object in treeio <2017-12-05, Tue>
4 6
  o deprecate subview, annotation_image and phylopic; remove theme_transparent <2017-12-04, Mon>
5 7
  o geom_tiplab now supports geom = "image" or geom = "phylopic" <2017-12-04, Mon>
... ...
@@ -473,7 +473,8 @@ fortify.phylo <- function(model, data,
473 473
                           right     = FALSE,
474 474
                           mrsd      = NULL,
475 475
                           as.Date   = FALSE, ...) {
476
-    tree <- reorder.phylo(model, 'postorder')
476
+    ## tree <- reorder.phylo(model, 'postorder')
477
+    tree <- model
477 478
 
478 479
     if (ladderize == TRUE) {
479 480
         tree <- ladderize(tree, right=right)