... | ... |
@@ -7,7 +7,7 @@ |
7 | 7 |
scale_x_ggtree(breaks = waiver(), labels = waiver()) |
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{breaks}{breaks for tree} |
|
10 |
+\item{breaks}{set breaks for tree} |
|
11 | 11 |
|
12 | 12 |
\item{labels}{lables for corresponding breaks} |
13 | 13 |
} |
... | ... |
@@ -17,6 +17,15 @@ updated tree view |
17 | 17 |
\description{ |
18 | 18 |
scale x for tree with gheatmap |
19 | 19 |
} |
20 |
+\details{ |
|
21 |
+Since setting x-axis for tree with gheatmap by using 'theme_tree2()' is quite tricky, |
|
22 |
+'scale_x_ggtree' can help set the x-axis more reasonably. |
|
23 |
+} |
|
24 |
+\references{ |
|
25 |
+For more detailed demonstration of this function, please refer to chapter 7.3 of |
|
26 |
+\emph{Data Integration, Manipulation and Visualization of Phylogenetic Trees} |
|
27 |
+\url{http://yulab-smu.top/treedata-book/index.html} by Guangchuang Yu. |
|
28 |
+} |
|
20 | 29 |
\author{ |
21 | 30 |
Guangchuang Yu |
22 | 31 |
} |
... | ... |
@@ -1,23 +1,21 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 |
-% Please edit documentation in R/experimental_function.R |
|
2 |
+% Please edit documentation in R/scales.R |
|
3 | 3 |
\name{scale_x_ggtree} |
4 | 4 |
\alias{scale_x_ggtree} |
5 | 5 |
\title{scale_x_ggtree} |
6 | 6 |
\usage{ |
7 |
-scale_x_ggtree(tree_view, breaks = NULL, labels = NULL) |
|
7 |
+scale_x_ggtree(breaks = waiver(), labels = waiver()) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{tree_view}{tree view} |
|
11 |
- |
|
12 | 10 |
\item{breaks}{breaks for tree} |
13 | 11 |
|
14 | 12 |
\item{labels}{lables for corresponding breaks} |
15 | 13 |
} |
16 | 14 |
\value{ |
17 |
-tree view |
|
15 |
+updated tree view |
|
18 | 16 |
} |
19 | 17 |
\description{ |
20 |
-scale x for tree with heatmap |
|
18 |
+scale x for tree with gheatmap |
|
21 | 19 |
} |
22 | 20 |
\author{ |
23 | 21 |
Guangchuang Yu |
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@115874 bc3139a8-67e5-0310-9ffc-ced21a209358
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@112503 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -4,10 +4,10 @@ |
4 | 4 |
\alias{scale_x_ggtree} |
5 | 5 |
\title{scale_x_ggtree} |
6 | 6 |
\usage{ |
7 |
-scale_x_ggtree(p, breaks = NULL, labels = NULL) |
|
7 |
+scale_x_ggtree(tree_view, breaks = NULL, labels = NULL) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
-\item{p}{tree view} |
|
10 |
+\item{tree_view}{tree view} |
|
11 | 11 |
|
12 | 12 |
\item{breaks}{breaks for tree} |
13 | 13 |
|
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@111813 bc3139a8-67e5-0310-9ffc-ced21a209358
Commit id: 7c6eb6f90218928633147306f8bacd86a5cdd944
mask & scale_x_ggtree function
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ggtree@104466 bc3139a8-67e5-0310-9ffc-ced21a209358
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,25 @@ |
1 |
+% Generated by roxygen2 (4.1.1): do not edit by hand |
|
2 |
+% Please edit documentation in R/gplot.R |
|
3 |
+\name{scale_x_ggtree} |
|
4 |
+\alias{scale_x_ggtree} |
|
5 |
+\title{scale_x_ggtree} |
|
6 |
+\usage{ |
|
7 |
+scale_x_ggtree(p, breaks = NULL, labels = NULL) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{p}{tree view} |
|
11 |
+ |
|
12 |
+\item{breaks}{breaks for tree} |
|
13 |
+ |
|
14 |
+\item{labels}{lables for corresponding breaks} |
|
15 |
+} |
|
16 |
+\value{ |
|
17 |
+tree view |
|
18 |
+} |
|
19 |
+\description{ |
|
20 |
+scale x for tree with heatmap |
|
21 |
+} |
|
22 |
+\author{ |
|
23 |
+Guangchuang Yu |
|
24 |
+} |
|
25 |
+ |