Commit id: 197c77c3c48ecf52d5e662696f92d3c8a5dfdc1d
bug fixed
git-svn-id: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@102011 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -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 |
... | ... |
@@ -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) { |