... | ... |
@@ -4,14 +4,14 @@ |
4 | 4 |
\alias{geom_aline} |
5 | 5 |
\title{geom_aline} |
6 | 6 |
\usage{ |
7 |
-geom_aline(mapping = NULL, linetype = "dotted", size = 1, ...) |
|
7 |
+geom_aline(mapping = NULL, linetype = "dotted", linewidth = 1, ...) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{mapping}{aes mapping} |
11 | 11 |
|
12 | 12 |
\item{linetype}{set line type of the line, defaults to "dotted"} |
13 | 13 |
|
14 |
-\item{size}{set line size of the line, defaults to 1} |
|
14 |
+\item{linewidth}{set width of the line, defaults to 1} |
|
15 | 15 |
|
16 | 16 |
\item{...}{additional parameter} |
17 | 17 |
} |
... | ... |
@@ -9,9 +9,9 @@ geom_aline(mapping = NULL, linetype = "dotted", size = 1, ...) |
9 | 9 |
\arguments{ |
10 | 10 |
\item{mapping}{aes mapping} |
11 | 11 |
|
12 |
-\item{linetype}{line type} |
|
12 |
+\item{linetype}{set line type of the line, defaults to "dotted"} |
|
13 | 13 |
|
14 |
-\item{size}{line size} |
|
14 |
+\item{size}{set line size of the line, defaults to 1} |
|
15 | 15 |
|
16 | 16 |
\item{...}{additional parameter} |
17 | 17 |
} |
... | ... |
@@ -19,7 +19,11 @@ geom_aline(mapping = NULL, linetype = "dotted", size = 1, ...) |
19 | 19 |
aline layer |
20 | 20 |
} |
21 | 21 |
\description{ |
22 |
-add horizontal align lines |
|
22 |
+add horizontal align lines layer to a tree |
|
23 |
+} |
|
24 |
+\details{ |
|
25 |
+'geom_aline'align all tips to the longest one by adding |
|
26 |
+padding characters to the right side of the tip. |
|
23 | 27 |
} |
24 | 28 |
\author{ |
25 | 29 |
Yu Guangchuang |
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@107869 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -1,14 +1,18 @@ |
1 | 1 |
% Generated by roxygen2 (4.1.1): do not edit by hand |
2 |
-% Please edit documentation in R/ggtree.R |
|
2 |
+% Please edit documentation in R/geom_segment.R |
|
3 | 3 |
\name{geom_aline} |
4 | 4 |
\alias{geom_aline} |
5 | 5 |
\title{geom_aline} |
6 | 6 |
\usage{ |
7 |
-geom_aline(linetype = "dashed", ...) |
|
7 |
+geom_aline(mapping = NULL, linetype = "dotted", size = 1, ...) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 |
+\item{mapping}{aes mapping} |
|
11 |
+ |
|
10 | 12 |
\item{linetype}{line type} |
11 | 13 |
|
14 |
+\item{size}{line size} |
|
15 |
+ |
|
12 | 16 |
\item{...}{additional parameter} |
13 | 17 |
} |
14 | 18 |
\value{ |
... | ... |
@@ -17,11 +21,6 @@ aline layer |
17 | 21 |
\description{ |
18 | 22 |
add horizontal align lines |
19 | 23 |
} |
20 |
-\examples{ |
|
21 |
-require(ape) |
|
22 |
-tr <- rtree(10) |
|
23 |
-ggtree(tr) + geom_tiplab(align=TRUE) + geom_aline() |
|
24 |
-} |
|
25 | 24 |
\author{ |
26 | 25 |
Yu Guangchuang |
27 | 26 |
} |
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{geom_aline} |
|
4 |
+\alias{geom_aline} |
|
5 |
+\title{geom_aline} |
|
6 |
+\usage{ |
|
7 |
+geom_aline(linetype = "dashed", ...) |
|
8 |
+} |
|
9 |
+\arguments{ |
|
10 |
+\item{linetype}{line type} |
|
11 |
+ |
|
12 |
+\item{...}{additional parameter} |
|
13 |
+} |
|
14 |
+\value{ |
|
15 |
+aline layer |
|
16 |
+} |
|
17 |
+\description{ |
|
18 |
+add horizontal align lines |
|
19 |
+} |
|
20 |
+\examples{ |
|
21 |
+require(ape) |
|
22 |
+tr <- rtree(10) |
|
23 |
+ggtree(tr) + geom_tiplab(align=TRUE) + geom_aline() |
|
24 |
+} |
|
25 |
+\author{ |
|
26 |
+Yu Guangchuang |
|
27 |
+} |
|
28 |
+ |