... | ... |
@@ -7,13 +7,22 @@ |
7 | 7 |
revts(treeview) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{treeview}{treeview} |
|
10 |
+\item{treeview}{original tree view} |
|
11 | 11 |
} |
12 | 12 |
\value{ |
13 |
-updated treeview |
|
13 |
+updated tree view |
|
14 | 14 |
} |
15 | 15 |
\description{ |
16 |
-reverse timescle x-axis |
|
16 |
+reverse timescle x-axis by setting the most recent tip to 0 |
|
17 |
+} |
|
18 |
+\details{ |
|
19 |
+'scale_x_continuous(labels=abs)' is required if users want to set the x-axis lable to absolute value |
|
20 |
+} |
|
21 |
+\examples{ |
|
22 |
+tr <- rtree(10) |
|
23 |
+p <- ggtree(tr) + theme_tree2() |
|
24 |
+p2 <- revts(p) |
|
25 |
+p2 + scale_x_continuous(labels=abs) |
|
17 | 26 |
} |
18 | 27 |
\author{ |
19 | 28 |
Guangchuang Yu |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@123745 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/xlim.R |
|
3 |
+\name{revts} |
|
4 |
+\alias{revts} |
|
5 |
+\title{revts} |
|
6 |
+\usage{ |
|
7 |
+revts(treeview) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{treeview}{treeview} |
|
11 |
+} |
|
12 |
+\value{ |
|
13 |
+updated treeview |
|
14 |
+} |
|
15 |
+\description{ |
|
16 |
+reverse timescle x-axis |
|
17 |
+} |
|
18 |
+\author{ |
|
19 |
+guangchuang yu |
|
20 |
+} |
|
21 |
+ |