... | ... |
@@ -8,7 +8,7 @@ Grob for Dendrogram |
8 | 8 |
} |
9 | 9 |
\usage{ |
10 | 10 |
dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"), |
11 |
- order = c("normal", "reverse"), gp = gpar(), edge_gp = gp) |
|
11 |
+ order = c("normal", "reverse"), gp = gpar()) |
|
12 | 12 |
} |
13 | 13 |
\arguments{ |
14 | 14 |
|
... | ... |
@@ -16,7 +16,6 @@ dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"), |
16 | 16 |
\item{facing}{Facing of the dendrogram.} |
17 | 17 |
\item{order}{If it is set to \code{reverse}, the first leaf is put on the right if the dendrogram is horizontal and it is put on the top if the dendrogram is vertical.} |
18 | 18 |
\item{gp}{Graphic parameters for the dendrogram segments. If any of \code{col}, \code{lwd} or \code{lty} is set in the \code{edgePar} attribute of a node, the corresponding value defined in \code{gp} will be overwritten for this node, so \code{gp} is like global graphic parameters for dendrogram segments.} |
19 |
- \item{edge_gp}{The same as \code{gp}.} |
|
20 | 19 |
|
21 | 20 |
} |
22 | 21 |
\details{ |
... | ... |
@@ -8,7 +8,7 @@ Grob for Dendrogram |
8 | 8 |
} |
9 | 9 |
\usage{ |
10 | 10 |
dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"), |
11 |
- order = c("normal", "reverse"), gp = gpar()) |
|
11 |
+ order = c("normal", "reverse"), gp = gpar(), edge_gp = gp) |
|
12 | 12 |
} |
13 | 13 |
\arguments{ |
14 | 14 |
|
... | ... |
@@ -16,6 +16,7 @@ dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"), |
16 | 16 |
\item{facing}{Facing of the dendrogram.} |
17 | 17 |
\item{order}{If it is set to \code{reverse}, the first leaf is put on the right if the dendrogram is horizontal and it is put on the top if the dendrogram is vertical.} |
18 | 18 |
\item{gp}{Graphic parameters for the dendrogram segments. If any of \code{col}, \code{lwd} or \code{lty} is set in the \code{edgePar} attribute of a node, the corresponding value defined in \code{gp} will be overwritten for this node, so \code{gp} is like global graphic parameters for dendrogram segments.} |
19 |
+ \item{edge_gp}{The same as \code{gp}.} |
|
19 | 20 |
|
20 | 21 |
} |
21 | 22 |
\details{ |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,31 @@ |
1 |
+\name{dendrogramGrob} |
|
2 |
+\alias{dendrogramGrob} |
|
3 |
+\title{ |
|
4 |
+Grob for Dendrogram |
|
5 |
+} |
|
6 |
+\description{ |
|
7 |
+Grob for Dendrogram |
|
8 |
+} |
|
9 |
+\usage{ |
|
10 |
+dendrogramGrob(dend, facing = c("bottom", "top", "left", "right"), |
|
11 |
+ order = c("normal", "reverse"), gp = gpar()) |
|
12 |
+} |
|
13 |
+\arguments{ |
|
14 |
+ |
|
15 |
+ \item{dend}{A \code{\link{dendrogram}} object.} |
|
16 |
+ \item{facing}{Facing of the dendrogram.} |
|
17 |
+ \item{order}{If it is set to \code{reverse}, the first leaf is put on the right if the dendrogram is horizontal and it is put on the top if the dendrogram is vertical.} |
|
18 |
+ \item{gp}{Graphic parameters for the dendrogram segments. If any of \code{col}, \code{lwd} or \code{lty} is set in the \code{edgePar} attribute of a node, the corresponding value defined in \code{gp} will be overwritten for this node, so \code{gp} is like global graphic parameters for dendrogram segments.} |
|
19 |
+ |
|
20 |
+} |
|
21 |
+\details{ |
|
22 |
+If \code{dend} has not been processed by \code{\link{adjust_dend_by_x}}, internally \code{\link{adjust_dend_by_x}} is called |
|
23 |
+to add \code{x} attributes to each node/leaf. |
|
24 |
+} |
|
25 |
+\value{ |
|
26 |
+A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segments]{segmentsGrob}}. |
|
27 |
+} |
|
28 |
+\examples{ |
|
29 |
+# There is no example |
|
30 |
+NULL |
|
31 |
+} |