... | ... |
@@ -7,9 +7,9 @@ |
7 | 7 |
theme_tree2(bgcolor = "white", fgcolor = "black", ...) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{bgcolor}{background color} |
|
10 |
+\item{bgcolor}{set background color, defaults to "white"} |
|
11 | 11 |
|
12 |
-\item{fgcolor}{foreground color} |
|
12 |
+\item{fgcolor}{set foreground color, defaults to "black"} |
|
13 | 13 |
|
14 | 14 |
\item{...}{additional parameter} |
15 | 15 |
} |
... | ... |
@@ -19,6 +19,9 @@ updated ggplot object with new theme |
19 | 19 |
\description{ |
20 | 20 |
tree2 theme |
21 | 21 |
} |
22 |
+\details{ |
|
23 |
+'theme_tree2' supports displaying phylogenetic distance by setting x-axis |
|
24 |
+} |
|
22 | 25 |
\examples{ |
23 | 26 |
require(ape) |
24 | 27 |
tr <- rtree(10) |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@111988 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@111813 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@106946 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -4,12 +4,14 @@ |
4 | 4 |
\alias{theme_tree2} |
5 | 5 |
\title{theme_tree2} |
6 | 6 |
\usage{ |
7 |
-theme_tree2(bgcolor = "white", fgcolor = "black") |
|
7 |
+theme_tree2(bgcolor = "white", fgcolor = "black", ...) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{bgcolor}{background color} |
11 | 11 |
|
12 | 12 |
\item{fgcolor}{foreground color} |
13 |
+ |
|
14 |
+\item{...}{additional parameter} |
|
13 | 15 |
} |
14 | 16 |
\value{ |
15 | 17 |
updated ggplot object with new theme |
Commit id: ca17acc22b608158936b9c2790bff2f7504f38d9
add author
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@103112 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@98340 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,28 @@ |
1 |
+% Generated by roxygen2 (4.1.0): do not edit by hand |
|
2 |
+% Please edit documentation in R/ggtree.R |
|
3 |
+\name{theme_tree2} |
|
4 |
+\alias{theme_tree2} |
|
5 |
+\title{theme_tree2} |
|
6 |
+\usage{ |
|
7 |
+theme_tree2(bgcolor = "white", fgcolor = "black") |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{bgcolor}{background color} |
|
11 |
+ |
|
12 |
+\item{fgcolor}{foreground color} |
|
13 |
+} |
|
14 |
+\value{ |
|
15 |
+updated ggplot object with new theme |
|
16 |
+} |
|
17 |
+\description{ |
|
18 |
+tree2 theme |
|
19 |
+} |
|
20 |
+\examples{ |
|
21 |
+require(ape) |
|
22 |
+tr <- rtree(10) |
|
23 |
+ggtree(tr) + theme_tree2() |
|
24 |
+} |
|
25 |
+\author{ |
|
26 |
+Yu Guangchuang |
|
27 |
+} |
|
28 |
+ |