... | ... |
@@ -2,7 +2,7 @@ Package: ggtree |
2 | 2 |
Type: Package |
3 | 3 |
Title: an R package for visualization and annotation of phylogenetic trees with |
4 | 4 |
their covariates and other associated data |
5 |
-Version: 1.13.4 |
|
5 |
+Version: 1.13.4.991 |
|
6 | 6 |
Authors@R: c( |
7 | 7 |
person("Guangchuang", "Yu", email = "guangchuangyu@gmail.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")), |
8 | 8 |
person("Tommy Tsan-Yuk", "Lam", email = "tylam.tommy@gmail.com", role = c("aut", "ths")), |
... | ... |
@@ -1,5 +1,7 @@ |
1 |
-# ggtree 1.13.4 |
|
1 |
+# ggtree 1.13.4.991 |
|
2 | 2 |
|
3 |
++ enable additional parameters passed to `geom_rootedge` (2018-09-13, Thu) |
|
4 |
+ - <https://github.com/GuangchuangYu/ggtree/issues/195> |
|
3 | 5 |
+ `facet_labeller` to label panels of `facet_plot` output (2018-09-10, Mon) |
4 | 6 |
- <https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/bioc-ggtree/nAl3bNswxQM/crBwKtS3BAAJ> |
5 | 7 |
|
... | ... |
@@ -3,10 +3,11 @@ |
3 | 3 |
##' |
4 | 4 |
##' @title geom_rootedge |
5 | 5 |
##' @param rootedge length of rootedge; use phylo$root.edge if rootedge = NULL (by default). |
6 |
+##' @param ... additional parameters |
|
6 | 7 |
##' @return ggplot layer |
7 | 8 |
##' @export |
8 | 9 |
##' @author Guangchuang Yu |
9 |
-geom_rootedge <- function(rootedge = NULL) { |
|
10 |
+geom_rootedge <- function(rootedge = NULL, ...) { |
|
10 | 11 |
mapping <- aes_(x = ~x, y = ~y, xend = ~x, yend = ~y, |
11 | 12 |
branch.length = ~branch.length, |
12 | 13 |
node = ~node, parent = ~parent) |
... | ... |
@@ -17,7 +18,7 @@ geom_rootedge <- function(rootedge = NULL) { |
17 | 18 |
geom = "segment", |
18 | 19 |
position = "identity", |
19 | 20 |
show.legend = NA, |
20 |
- params = list(rootedge = rootedge), |
|
21 |
+ params = list(rootedge = rootedge, ...), |
|
21 | 22 |
check.aes = FALSE |
22 | 23 |
) |
23 | 24 |
|
... | ... |
@@ -4,10 +4,12 @@ |
4 | 4 |
\alias{geom_rootedge} |
5 | 5 |
\title{geom_rootedge} |
6 | 6 |
\usage{ |
7 |
-geom_rootedge(rootedge = NULL) |
|
7 |
+geom_rootedge(rootedge = NULL, ...) |
|
8 | 8 |
} |
9 | 9 |
\arguments{ |
10 | 10 |
\item{rootedge}{length of rootedge; use phylo$root.edge if rootedge = NULL (by default).} |
11 |
+ |
|
12 |
+\item{...}{additional parameters} |
|
11 | 13 |
} |
12 | 14 |
\value{ |
13 | 15 |
ggplot layer |