Browse code

add max_density argument

Zuguang Gu authored on 15/06/2022 10:42:56
Showing1 changed files
... ...
@@ -28,4 +28,5 @@ A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segment
28 28
 \examples{
29 29
 # There is no example
30 30
 NULL
31
+
31 32
 }
Browse code

rename to anno_textbox()

Zuguang Gu authored on 15/06/2022 10:11:58
Showing1 changed files
... ...
@@ -28,5 +28,4 @@ A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segment
28 28
 \examples{
29 29
 # There is no example
30 30
 NULL
31
-
32 31
 }
Browse code

won't generate color matrix when type=='none'

Zuguang Gu authored on 15/12/2020 12:01:39
Showing1 changed files
... ...
@@ -28,4 +28,5 @@ A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segment
28 28
 \examples{
29 29
 # There is no example
30 30
 NULL
31
+
31 32
 }
Browse code

translate stats::heatmap() and gplots::heatmap.2()

Zuguang Gu authored on 13/12/2020 20:54:51
Showing1 changed files
... ...
@@ -28,5 +28,4 @@ A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segment
28 28
 \examples{
29 29
 # There is no example
30 30
 NULL
31
-
32 31
 }
Browse code

update docs

Zuguang Gu authored on 06/07/2020 21:05:25
Showing1 changed files
... ...
@@ -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{
Browse code

won't support graphics on dendrogram nodes

Zuguang Gu authored on 05/07/2020 20:11:01
Showing1 changed files
... ...
@@ -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{
Browse code

update

Zuguang Gu authored on 20/10/2019 06:57:30
Showing1 changed files
... ...
@@ -28,4 +28,5 @@ A \code{\link{grob}} object which is contructed by \code{\link[grid:grid.segment
28 28
 \examples{
29 29
 # There is no example
30 30
 NULL
31
+
31 32
 }
Browse code

generate documentations by pkgdown

Zuguang Gu authored on 18/10/2019 11:34:02
Showing1 changed files
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
+}