Browse code

update docs

Guangchuang Yu authored on 10/10/2018 10:55:13
Showing 1 changed files

... ...
@@ -30,9 +30,11 @@ ggtree(tr, mapping = NULL, layout = "rectangular", open.angle = 0,
30 30
 
31 31
 \item{yscale_mapping}{yscale mapping for category variable}
32 32
 
33
-\item{ladderize}{logical}
33
+\item{ladderize}{logical (default \code{TRUE}). Should the tree be re-organized to have a 'ladder'
34
+aspect?}
34 35
 
35
-\item{right}{logical}
36
+\item{right}{logical. If \code{ladderize = TRUE}, should the ladder have the smallest clade on the
37
+right-hand side? See \code{\link[ape]{ladderize}} for more information.}
36 38
 
37 39
 \item{branch.length}{variable for scaling branch, if 'none' draw cladogram}
38 40
 
... ...
@@ -54,6 +56,9 @@ require(ape)
54 56
 tr <- rtree(10)
55 57
 ggtree(tr)
56 58
 }
59
+\seealso{
60
+\code{\link[ape]{ladderize}}
61
+}
57 62
 \author{
58 63
 Yu Guangchuang
59 64
 }