Browse code

Commit made by the Bioconductor Git-SVN bridge.

Commit id: 197c77c3c48ecf52d5e662696f92d3c8a5dfdc1d

bug fixed



git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@102011 bc3139a8-67e5-0310-9ffc-ced21a209358

g.yu authored on 07/04/2015 07:19:08
Showing 3 changed files

  • DESCRIPTION index a4fa8d5..c5be2e6 100644
  • NEWS index 8adb6d8..a21e2a4 100644
  • R/tree.R index cbbec09..eda31c0 100644
... ...
@@ -1,7 +1,7 @@
1 1
 Package: ggtree
2 2
 Type: Package
3 3
 Title: a phylogenetic tree viewer for different types of tree annotations
4
-Version: 0.99.26
4
+Version: 0.99.27
5 5
 Author: Guangchuang Yu
6 6
 Maintainer: Guangchuang Yu <guangchuangyu@gmail.com>
7 7
 Description: ggtree extends the ggplot2 plotting system which implemented the
... ...
@@ -1,3 +1,7 @@
1
+CHANGES IN VERSION 0.99.27
2
+------------------------
3
+ o bug fixed, see https://github.com/GuangchuangYu/ggtree/issues/4 <2015-03-07, Tue>
4
+
1 5
 CHANGES IN VERSION 0.99.26
2 6
 ------------------------
3 7
  o update geom_tiplab <2015-03-31, Tue>
... ...
@@ -441,8 +441,7 @@ getNodes_by_postorder <- function(tree) {
441 441
 getXcoord2 <- function(x, root, parent, child, len, start=0, rev=FALSE) {
442 442
     x[root] <- start
443 443
     x[-root] <- NA  ## only root is set to start, by default 0
444
-    len[root] <- 0
445
-    
444
+        
446 445
     currentNode <- root
447 446
     direction <- 1
448 447
     if (rev == TRUE) {