... | ... |
@@ -10,7 +10,7 @@ Imports: circlize (>= 0.4.1), GetoptLong, colorspace, |
10 | 10 |
RColorBrewer, GlobalOptions (>= 0.1.0) |
11 | 11 |
Suggests: testthat (>= 0.3), knitr, markdown, cluster, MASS, pvclust, |
12 | 12 |
dendsort, HilbertCurve, Cairo, png, jpeg, tiff, fastcluster, |
13 |
- dendextend (>= 1.0.1), grImport, grImport2, rsvg |
|
13 |
+ dendextend (>= 1.0.1), grImport, grImport2, rsvg, glue |
|
14 | 14 |
VignetteBuilder: knitr |
15 | 15 |
Description: Complex heatmaps are efficient to visualize associations |
16 | 16 |
between different sources of data sets and reveal potential structures. |
... | ... |
@@ -1,31 +1,31 @@ |
1 |
-setGeneric('get_legend_param_list', function(object, ...) standardGeneric('get_legend_param_list')) |
|
2 |
-setGeneric('adjust_heatmap_list', function(object, ...) standardGeneric('adjust_heatmap_list')) |
|
3 |
-setGeneric('component_width', function(object, ...) standardGeneric('component_width')) |
|
4 |
-setGeneric('draw_annotation_legend', function(object, ...) standardGeneric('draw_annotation_legend')) |
|
5 | 1 |
setGeneric('map_to_colors', function(object, ...) standardGeneric('map_to_colors')) |
6 |
-setGeneric('draw', function(object, ...) standardGeneric('draw')) |
|
7 |
-setGeneric('column_dend', function(object, ...) standardGeneric('column_dend')) |
|
8 |
-setGeneric('draw_dend', function(object, ...) standardGeneric('draw_dend')) |
|
2 |
+setGeneric('set_component_height', function(object, ...) standardGeneric('set_component_height')) |
|
3 |
+setGeneric('draw_heatmap_body', function(object, ...) standardGeneric('draw_heatmap_body')) |
|
4 |
+setGeneric('component_height', function(object, ...) standardGeneric('component_height')) |
|
9 | 5 |
setGeneric('make_layout', function(object, ...) standardGeneric('make_layout')) |
6 |
+setGeneric('heatmap_legend_size', function(object, ...) standardGeneric('heatmap_legend_size')) |
|
7 |
+setGeneric('get_legend_param_list', function(object, ...) standardGeneric('get_legend_param_list')) |
|
8 |
+setGeneric('color_mapping_legend', function(object, ...) standardGeneric('color_mapping_legend')) |
|
10 | 9 |
setGeneric('make_column_cluster', function(object, ...) standardGeneric('make_column_cluster')) |
10 |
+setGeneric('column_dend', function(object, ...) standardGeneric('column_dend')) |
|
11 |
+setGeneric('resize', function(object, ...) standardGeneric('resize')) |
|
12 |
+setGeneric('row_order', function(object, ...) standardGeneric('row_order')) |
|
11 | 13 |
setGeneric('draw_heatmap_list', function(object, ...) standardGeneric('draw_heatmap_list')) |
14 |
+setGeneric('row_dend', function(object, ...) standardGeneric('row_dend')) |
|
15 |
+setGeneric('add_heatmap', function(object, ...) standardGeneric('add_heatmap')) |
|
16 |
+setGeneric('set_component_width', function(object, ...) standardGeneric('set_component_width')) |
|
17 |
+setGeneric('column_order', function(object, ...) standardGeneric('column_order')) |
|
18 |
+setGeneric('draw_annotation_legend', function(object, ...) standardGeneric('draw_annotation_legend')) |
|
19 |
+setGeneric('draw_heatmap_legend', function(object, ...) standardGeneric('draw_heatmap_legend')) |
|
20 |
+setGeneric('annotation_legend_size', function(object, ...) standardGeneric('annotation_legend_size')) |
|
12 | 21 |
setGeneric('draw_annotation', function(object, ...) standardGeneric('draw_annotation')) |
13 |
-setGeneric('copy_all', function(object, ...) standardGeneric('copy_all')) |
|
14 |
-setGeneric('row_order', function(object, ...) standardGeneric('row_order')) |
|
15 | 22 |
setGeneric('prepare', function(object, ...) standardGeneric('prepare')) |
16 | 23 |
setGeneric('draw_dimnames', function(object, ...) standardGeneric('draw_dimnames')) |
17 |
-setGeneric('component_height', function(object, ...) standardGeneric('component_height')) |
|
24 |
+setGeneric('draw', function(object, ...) standardGeneric('draw')) |
|
18 | 25 |
setGeneric('draw_title', function(object, ...) standardGeneric('draw_title')) |
19 |
-setGeneric('resize', function(object, ...) standardGeneric('resize')) |
|
20 |
-setGeneric('column_order', function(object, ...) standardGeneric('column_order')) |
|
21 |
-setGeneric('get_color_mapping_list', function(object, ...) standardGeneric('get_color_mapping_list')) |
|
22 |
-setGeneric('row_dend', function(object, ...) standardGeneric('row_dend')) |
|
23 |
-setGeneric('annotation_legend_size', function(object, ...) standardGeneric('annotation_legend_size')) |
|
24 |
-setGeneric('add_heatmap', function(object, ...) standardGeneric('add_heatmap')) |
|
25 |
-setGeneric('color_mapping_legend', function(object, ...) standardGeneric('color_mapping_legend')) |
|
26 |
-setGeneric('draw_heatmap_body', function(object, ...) standardGeneric('draw_heatmap_body')) |
|
27 |
-setGeneric('set_component_height', function(object, ...) standardGeneric('set_component_height')) |
|
28 |
-setGeneric('draw_heatmap_legend', function(object, ...) standardGeneric('draw_heatmap_legend')) |
|
29 |
-setGeneric('heatmap_legend_size', function(object, ...) standardGeneric('heatmap_legend_size')) |
|
30 |
-setGeneric('set_component_width', function(object, ...) standardGeneric('set_component_width')) |
|
31 | 26 |
setGeneric('make_row_cluster', function(object, ...) standardGeneric('make_row_cluster')) |
27 |
+setGeneric('component_width', function(object, ...) standardGeneric('component_width')) |
|
28 |
+setGeneric('get_color_mapping_list', function(object, ...) standardGeneric('get_color_mapping_list')) |
|
29 |
+setGeneric('draw_dend', function(object, ...) standardGeneric('draw_dend')) |
|
30 |
+setGeneric('adjust_heatmap_list', function(object, ...) standardGeneric('adjust_heatmap_list')) |
|
31 |
+setGeneric('copy_all', function(object, ...) standardGeneric('copy_all')) |
... | ... |
@@ -97,8 +97,8 @@ anno_width_and_height = function(which, width = NULL, height = NULL, |
97 | 97 |
# -show_name It is used to turn off the drawing of annotation names in `HeatmapAnnotation`. Annotations always have names |
98 | 98 |
# associated and normally they will be drawn beside the annotation graphics to tell what the annotation is about. |
99 | 99 |
# e.g. the annotation names put beside the points annotation graphics. However, for some of the annotations, the names |
100 |
-# are not necessarily to be drawn, such as text annotations drawn by `anno_text` or an empty annotation drawn by `anno_empty()`. |
|
101 |
-# In this case, when `show_names` is set to `FALSE`, there will be no annotation names drawn for the annotation. |
|
100 |
+# are not necessarily to be drawn, such as text annotations drawn by `anno_text` or an empty annotation drawn by `anno_empty`. |
|
101 |
+# In this case, when ``show_names`` is set to ``FALSE``, there will be no annotation names drawn for the annotation. |
|
102 | 102 |
# -width The width of the plotting region (the viewport) that the annotation is drawn. If it is a row annotation, |
103 | 103 |
# the width must be an absolute unit. Since the ``AnnotationFunction`` object is always contained by the `SingleAnnotation-class`object, |
104 | 104 |
# you can only set the width of row annotations or height of column annotations, while e.g. the height of the row annotation is always ``unit(1, "npc")`` |
... | ... |
@@ -348,6 +348,9 @@ setMethod(f = "draw", |
348 | 348 |
if(test2) { |
349 | 349 |
grid.newpage() |
350 | 350 |
pushViewport(viewport(width = 0.8, height = 0.8)) |
351 |
+ if(is.na(object@n)) { |
|
352 |
+ object@n = 1 |
|
353 |
+ } |
|
351 | 354 |
} |
352 | 355 |
|
353 | 356 |
verbose = ht_opt$verbose |
... | ... |
@@ -1,3 +1,4 @@ |
1 |
+# -anno_simple_size size of the simple annotation.# -anno_simple_size size of the simple annotation.# -anno_simple_size size of the simple annotation. |
|
1 | 2 |
|
2 | 3 |
# == title |
3 | 4 |
# Empty Annotation |
... | ... |
@@ -110,6 +111,7 @@ subset_vector = function(x, i) x[i] |
110 | 111 |
# the value of ``pt_size`` can be a vector, while if ``x`` is a matrix, ``pt_size`` can |
111 | 112 |
# only be a single value. |
112 | 113 |
# -pt_gp Graphic parameters for points/symbols. The length setting is same as ``pt_size``. |
114 |
+# -anno_simple_size size of the simple annotation. |
|
113 | 115 |
# -width Width of the annotation. The value should be an absolute unit. Width is not allowed to be set for column annotation. |
114 | 116 |
# -height Height of the annotation. The value should be an absolute unit. Height is not allowed to be set for row annotation. |
115 | 117 |
# |
... | ... |
@@ -170,7 +170,7 @@ setMethod(f = "add_heatmap", |
170 | 170 |
# |
171 | 171 |
# == param |
172 | 172 |
# -object a `HeatmapList-class` object. |
173 |
-# -newpage whether create a new page for the graphics. If you want to arrange multiple plots in one page, I suggest to use `grid::grabExpr`. |
|
173 |
+# -newpage whether create a new page for the graphics. If you want to arrange multiple plots in one page, I suggest to use `grid::grid.grabExpr`. |
|
174 | 174 |
# -row_title title on the row. |
175 | 175 |
# -row_title_side will the title be put on the left or right of the heatmap. |
176 | 176 |
# -row_title_gp graphic parameters for drawing text. |
... | ... |
@@ -190,7 +190,8 @@ setMethod(f = "add_heatmap", |
190 | 190 |
# -ht_gap same as ``gap``. |
191 | 191 |
# -main_heatmap index of main heatmap. The value can be a numeric index or the heatmap name |
192 | 192 |
# -padding padding of the whole plot. The value is a unit vector of length 4, which corresponds to bottom, left, top and right. |
193 |
-# -adjust_annotation_name whether take annotation name into account when calculating positions of graphic elements. |
|
193 |
+# -adjust_annotation_extension whether take annotation name into account when calculating positions of graphic elements. |
|
194 |
+# -auto_adjust whether auto adjust |
|
194 | 195 |
# -row_dend_side side of the dendrogram from the main heatmap |
195 | 196 |
# -row_sub_title_side side of the row title from the main heatmap |
196 | 197 |
# -column_dend_side side of the dendrogram from the main heatmap |
... | ... |
@@ -208,7 +209,8 @@ setMethod(f = "add_heatmap", |
208 | 209 |
# -split this modifies ``split`` of the main heatmap |
209 | 210 |
# -row_km this modifies ``row_km`` of the main heatmap |
210 | 211 |
# -row_split this modifies ``row_split`` of the main heatmap |
211 |
-# -heatmap_body_height this modifies ``heatmap_body_height`` of the main heatmap |
|
212 |
+# -height this modifies ``height`` of the main heatmap |
|
213 |
+# -heatmap_height this modifies ``heatmap_height`` of the main heatmap |
|
212 | 214 |
# -column_gap this modifies ``column_gap`` of the main heatmap |
213 | 215 |
# -cluster_columns this modifies ``cluster_columns`` of the main heatmap |
214 | 216 |
# -clustering_distance_columns this modifies ``clustering_distance_columns`` of the main heatmap |
... | ... |
@@ -220,7 +222,8 @@ setMethod(f = "add_heatmap", |
220 | 222 |
# -column_order this modifies ``column_order`` of the main heatmap |
221 | 223 |
# -column_km this modifies ``column_km`` of the main heatmap |
222 | 224 |
# -column_split this modifies ``column_split`` of the main heatmap |
223 |
-# -heatmap_body_width this set the value in `ht_opt` and reset back after the plot is done |
|
225 |
+# -width this modifies ``width`` of the main heatmap |
|
226 |
+# -heatmap_width this modifies ``heatmap_width`` of the main heatmap |
|
224 | 227 |
# -heatmap_row_names_gp this set the value in `ht_opt` and reset back after the plot is done |
225 | 228 |
# -heatmap_column_names_gp this set the value in `ht_opt` and reset back after the plot is done |
226 | 229 |
# -heatmap_row_title_gp this set the value in `ht_opt` and reset back after the plot is done |
... | ... |
@@ -20,6 +20,7 @@ |
20 | 20 |
# -ht_gap gap between heatmaps, should be a `grid::unit` object. |
21 | 21 |
# -main_heatmap name or index for the main heatmap |
22 | 22 |
# -padding padding of the plot |
23 |
+# -auto_adjust whether autoadjust |
|
23 | 24 |
# -row_dend_side if auto adjust, where to put the row dendrograms for the main heatmap |
24 | 25 |
# -row_sub_title_side row sub title |
25 | 26 |
# -column_dend_side column dend |
... | ... |
@@ -140,7 +141,7 @@ setMethod(f = "make_layout", |
140 | 141 |
grid::upViewport() |
141 | 142 |
object@layout$page_size = unit.c(convertWidth(unit(1, "npc"), "mm"), |
142 | 143 |
convertHeight(unit(1, "npc"), "mm")) |
143 |
- grid::downViewport() |
|
144 |
+ grid::downViewport(current_vp) |
|
144 | 145 |
|
145 | 146 |
} |
146 | 147 |
object@ht_list_param$padding = padding |
... | ... |
@@ -283,7 +284,7 @@ setMethod(f = "make_layout", |
283 | 284 |
if(row_dend_width[[1]] == 0) { |
284 | 285 |
object@ht_list[[i_main]]@row_dend_param$width = unit(0, "mm") |
285 | 286 |
} else { |
286 |
- object@ht_list[[i_main]]@row_dend_param$width = row_dend_width + DENDROGRAM_PADDING # append the gap |
|
287 |
+ object@ht_list[[i_main]]@row_dend_param$width = row_dend_width + ht_opt$DENDROGRAM_PADDING # append the gap |
|
287 | 288 |
} |
288 | 289 |
} |
289 | 290 |
if(!is.null(show_row_dend)) { |
... | ... |
@@ -402,7 +403,7 @@ setMethod(f = "make_layout", |
402 | 403 |
if(column_dend_width[[1]] == 0) { |
403 | 404 |
object@ht_list[[i_main]]@column_dend_param$width = unit(0, "mm") |
404 | 405 |
} else { |
405 |
- object@ht_list[[i_main]]@column_dend_param$width = column_dend_width + DENDROGRAM_PADDING # append the gap |
|
406 |
+ object@ht_list[[i_main]]@column_dend_param$width = column_dend_width + ht_opt$DENDROGRAM_PADDING # append the gap |
|
406 | 407 |
} |
407 | 408 |
} |
408 | 409 |
if(!is.null(show_column_dend)) { |
... | ... |
@@ -73,6 +73,7 @@ SingleAnnotation = setClass("SingleAnnotation", |
73 | 73 |
# -name_offset Offset to the annotation, a `grid::unit` object. |
74 | 74 |
# -name_side 'right' and 'left' for column annotations and 'top' and 'bottom' for row annotations |
75 | 75 |
# -name_rot Rotation of the annotation name, it can only take values in ``c(0, 90, 180, 270)``. |
76 |
+# -anno_simple_size size of the simple annotation. |
|
76 | 77 |
# -width The width of the plotting region (the viewport) that the annotation is drawn. If it is a row annotation, |
77 | 78 |
# the width must be an absolute unit. |
78 | 79 |
# -height The height of the plotting region (the viewport) that the annotation is drawn. If it is a column annotation, |
... | ... |
@@ -22,7 +22,7 @@ |
22 | 22 |
# -heatmap_column_names_gp set ``column_names_gp`` in all `Heatmap`. |
23 | 23 |
# -heatmap_row_title_gp set ``row_title_gp`` in all `Heatmap`. |
24 | 24 |
# -heatmap_column_title_gp set ``column_title_gp`` in all `Heatmap`. |
25 |
-# -heatmap_border set `border` in all `Heatmap`. |
|
25 |
+# -heatmap_border set ``border`` in all `Heatmap`. |
|
26 | 26 |
# |
27 | 27 |
# Following parameters to control the legends: |
28 | 28 |
# |
... | ... |
@@ -734,6 +734,8 @@ horizontal_continuous_legend_body = function(at, labels = at, col_fun, |
734 | 734 |
# == param |
735 | 735 |
# -... A list of objects returned by `Legend`. |
736 | 736 |
# -gap Gap between two neighbouring legends. The value is a `grid::unit` object with length of one. |
737 |
+# -row_gap Horizontal gaps between legends. |
|
738 |
+# -column_gap Vertical gaps between legends. |
|
737 | 739 |
# -direction The direction to arrange legends. |
738 | 740 |
# -max_width The maximal width of the total packed legends. It only works for horizontal arrangement. |
739 | 741 |
# If the total width of the legends exceeds it, the legends will be arranged into several rows. |
... | ... |
@@ -290,7 +290,7 @@ rep.list = function(x, n) { |
290 | 290 |
# A vector of viewport names. |
291 | 291 |
# |
292 | 292 |
list_component = function() { |
293 |
- vp = grid.ls(viewports = TRUE, grob = FALSE, flatten = FALSE, print = FALSE) |
|
293 |
+ vp = grid.ls(viewports = TRUE, grobs = FALSE, flatten = FALSE, print = FALSE) |
|
294 | 294 |
vp = unlist(vp) |
295 | 295 |
attributes(vp) = NULL |
296 | 296 |
vp = vp[!grepl("^\\d+$", vp)] |
... | ... |
@@ -21,7 +21,7 @@ AnnotationFunction(fun, fun_name = "", which = c("column", "row"), |
21 | 21 |
\item{data_scale}{The data scale on the data axis (y-axis for column annotation and x-axis for row annotation). It is only used when \code{\link{decorate_annotation}} is used with "native" unit coordinates.} |
22 | 22 |
\item{subset_rule}{The rule of subsetting variables in \code{var_import}. It should be set when users want the final object to be subsetable. See **Details** section.} |
23 | 23 |
\item{subsetable}{Whether the object is subsetable?} |
24 |
- \item{show_name}{It is used to turn off the drawing of annotation names in \code{\link{HeatmapAnnotation}}. Annotations always have names associated and normally they will be drawn beside the annotation graphics to tell what the annotation is about. e.g. the annotation names put beside the points annotation graphics. However, for some of the annotations, the names are not necessarily to be drawn, such as text annotations drawn by \code{\link{anno_text}} or an empty annotation drawn by \code{\link{anno_empty()}}. In this case, when \code{\link{show_names}} is set to \code{\link{FALSE}}, there will be no annotation names drawn for the annotation.} |
|
24 |
+ \item{show_name}{It is used to turn off the drawing of annotation names in \code{\link{HeatmapAnnotation}}. Annotations always have names associated and normally they will be drawn beside the annotation graphics to tell what the annotation is about. e.g. the annotation names put beside the points annotation graphics. However, for some of the annotations, the names are not necessarily to be drawn, such as text annotations drawn by \code{\link{anno_text}} or an empty annotation drawn by \code{\link{anno_empty}}. In this case, when \code{show_names} is set to \code{FALSE}, there will be no annotation names drawn for the annotation.} |
|
25 | 25 |
\item{width}{The width of the plotting region (the viewport) that the annotation is drawn. If it is a row annotation, the width must be an absolute unit. Since the \code{AnnotationFunction} object is always contained by the \code{\link{SingleAnnotation-class}}object, you can only set the width of row annotations or height of column annotations, while e.g. the height of the row annotation is always \code{unit(1, "npc")} which means it always fully filled in the parent \code{SingleAnnotation} and only in \code{\link{SingleAnnotation}} or even \code{\link{HeatmapAnnotation}} can adjust the height of the row annotations.} |
26 | 26 |
\item{height}{The height of the plotting region (the viewport) that the annotation is drawn. If it is a column annotation, the width must be an absolute unit.} |
27 | 27 |
|
... | ... |
@@ -121,4 +121,5 @@ ComplexHeatmap Complete Reference (). |
121 | 121 |
\examples{ |
122 | 122 |
# There is no example |
123 | 123 |
NULL |
124 |
+ |
|
124 | 125 |
} |
... | ... |
@@ -39,6 +39,7 @@ SingleAnnotation(name, value, col, fun, |
39 | 39 |
\item{name_offset}{Offset to the annotation, a \code{\link[grid]{unit}} object.} |
40 | 40 |
\item{name_side}{'right' and 'left' for column annotations and 'top' and 'bottom' for row annotations} |
41 | 41 |
\item{name_rot}{Rotation of the annotation name, it can only take values in \code{c(0, 90, 180, 270)}.} |
42 |
+ \item{anno_simple_size}{size of the simple annotation.} |
|
42 | 43 |
\item{width}{The width of the plotting region (the viewport) that the annotation is drawn. If it is a row annotation, the width must be an absolute unit.} |
43 | 44 |
\item{height}{The height of the plotting region (the viewport) that the annotation is drawn. If it is a column annotation, the width must be an absolute unit.} |
44 | 45 |
|
... | ... |
@@ -11,8 +11,8 @@ Method dispatch page for \code{add_heatmap}. |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 | 13 |
\item \code{\link{add_heatmap,HeatmapAnnotation-method}}, \code{\link{HeatmapAnnotation-class}} class method |
14 |
-\item \code{\link{add_heatmap,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
15 | 14 |
\item \code{\link{add_heatmap,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
15 |
+\item \code{\link{add_heatmap,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
16 | 16 |
} |
17 | 17 |
} |
18 | 18 |
\examples{ |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{adjust_heatmap_list-HeatmapList-method} |
2 | 2 |
\alias{adjust_heatmap_list,HeatmapList-method} |
3 |
+\alias{adjust_heatmap_list} |
|
3 | 4 |
\title{ |
4 | 5 |
Adjust heatmap list |
5 | 6 |
} |
... | ... |
@@ -22,8 +23,8 @@ This function is only for internal use. |
22 | 23 |
\author{ |
23 | 24 |
Zuguang Gu <z.gu@dkfz.de> |
24 | 25 |
} |
25 |
-\alias{adjust_heatmap_list} |
|
26 | 26 |
\examples{ |
27 | 27 |
# There is no example |
28 | 28 |
NULL |
29 |
+ |
|
29 | 30 |
} |
... | ... |
@@ -24,6 +24,7 @@ anno_simple(x, col, na_col = "grey", |
24 | 24 |
\item{pch}{Points/symbols that are added on top of the annotation grids. The value can be numeric or single letters. It can be a vector if \code{x} is a vector and a matrix if \code{x} is a matrix. No points are drawn if the corresponding values are NA.} |
25 | 25 |
\item{pt_size}{Size of the points/symbols. It should be a \code{\link[grid]{unit}} object. If \code{x} is a vector, the value of \code{pt_size} can be a vector, while if \code{x} is a matrix, \code{pt_size} can only be a single value.} |
26 | 26 |
\item{pt_gp}{Graphic parameters for points/symbols. The length setting is same as \code{pt_size}.} |
27 |
+ \item{anno_simple_size}{size of the simple annotation.} |
|
27 | 28 |
\item{width}{Width of the annotation. The value should be an absolute unit. Width is not allowed to be set for column annotation.} |
28 | 29 |
\item{height}{Height of the annotation. The value should be an absolute unit. Height is not allowed to be set for row annotation.} |
29 | 30 |
|
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{annotation_legend_size-HeatmapList-method} |
2 | 2 |
\alias{annotation_legend_size,HeatmapList-method} |
3 |
+\alias{annotation_legend_size} |
|
3 | 4 |
\title{ |
4 | 5 |
Size of the annotation legend viewport |
5 | 6 |
} |
... | ... |
@@ -28,8 +29,8 @@ A \code{\link[grid]{unit}} object. |
28 | 29 |
\author{ |
29 | 30 |
Zuguang Gu <z.gu@dkfz.de> |
30 | 31 |
} |
31 |
-\alias{annotation_legend_size} |
|
32 | 32 |
\examples{ |
33 | 33 |
# There is no example |
34 | 34 |
NULL |
35 |
+ |
|
35 | 36 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{color_mapping_legend-ColorMapping-method} |
2 | 2 |
\alias{color_mapping_legend,ColorMapping-method} |
3 |
+\alias{color_mapping_legend} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw Legend Based on Color Mapping |
5 | 6 |
} |
... | ... |
@@ -65,8 +66,8 @@ A \code{\link{Legends-class}} object. |
65 | 66 |
\author{ |
66 | 67 |
Zuguang Gu <z.gu@dkfz.de> |
67 | 68 |
} |
68 |
-\alias{color_mapping_legend} |
|
69 | 69 |
\examples{ |
70 | 70 |
# There is no example |
71 | 71 |
NULL |
72 |
+ |
|
72 | 73 |
} |
... | ... |
@@ -10,8 +10,8 @@ Method dispatch page for \code{column_order}. |
10 | 10 |
\code{column_order} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
-\item \code{\link{column_order,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
14 | 13 |
\item \code{\link{column_order,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
14 |
+\item \code{\link{column_order,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
15 | 15 |
} |
16 | 16 |
} |
17 | 17 |
\examples{ |
... | ... |
@@ -10,8 +10,8 @@ Method dispatch page for \code{component_height}. |
10 | 10 |
\code{component_height} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
-\item \code{\link{component_height,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
14 | 13 |
\item \code{\link{component_height,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
14 |
+\item \code{\link{component_height,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
15 | 15 |
} |
16 | 16 |
} |
17 | 17 |
\examples{ |
... | ... |
@@ -10,8 +10,8 @@ Method dispatch page for \code{copy_all}. |
10 | 10 |
\code{copy_all} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
-\item \code{\link{copy_all,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
14 | 13 |
\item \code{\link{copy_all,AnnotationFunction-method}}, \code{\link{AnnotationFunction-class}} class method |
14 |
+\item \code{\link{copy_all,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
15 | 15 |
} |
16 | 16 |
} |
17 | 17 |
\examples{ |
... | ... |
@@ -89,7 +89,7 @@ Draw a list of heatmaps |
89 | 89 |
\arguments{ |
90 | 90 |
|
91 | 91 |
\item{object}{a \code{\link{HeatmapList-class}} object.} |
92 |
- \item{newpage}{whether create a new page for the graphics. If you want to arrange multiple plots in one page, I suggest to use \code{\link[grid]{grabExpr}}.} |
|
92 |
+ \item{newpage}{whether create a new page for the graphics. If you want to arrange multiple plots in one page, I suggest to use \code{\link[grid]{grid.grabExpr}}.} |
|
93 | 93 |
\item{row_title}{title on the row.} |
94 | 94 |
\item{row_title_side}{will the title be put on the left or right of the heatmap.} |
95 | 95 |
\item{row_title_gp}{graphic parameters for drawing text.} |
... | ... |
@@ -109,7 +109,8 @@ Draw a list of heatmaps |
109 | 109 |
\item{ht_gap}{same as \code{gap}.} |
110 | 110 |
\item{main_heatmap}{index of main heatmap. The value can be a numeric index or the heatmap name} |
111 | 111 |
\item{padding}{padding of the whole plot. The value is a unit vector of length 4, which corresponds to bottom, left, top and right.} |
112 |
- \item{adjust_annotation_name}{whether take annotation name into account when calculating positions of graphic elements.} |
|
112 |
+ \item{adjust_annotation_extension}{whether take annotation name into account when calculating positions of graphic elements.} |
|
113 |
+ \item{auto_adjust}{whether auto adjust} |
|
113 | 114 |
\item{row_dend_side}{side of the dendrogram from the main heatmap} |
114 | 115 |
\item{row_sub_title_side}{side of the row title from the main heatmap} |
115 | 116 |
\item{column_dend_side}{side of the dendrogram from the main heatmap} |
... | ... |
@@ -127,7 +128,8 @@ Draw a list of heatmaps |
127 | 128 |
\item{split}{this modifies \code{split} of the main heatmap} |
128 | 129 |
\item{row_km}{this modifies \code{row_km} of the main heatmap} |
129 | 130 |
\item{row_split}{this modifies \code{row_split} of the main heatmap} |
130 |
- \item{heatmap_body_height}{this modifies \code{heatmap_body_height} of the main heatmap} |
|
131 |
+ \item{height}{this modifies \code{height} of the main heatmap} |
|
132 |
+ \item{heatmap_height}{this modifies \code{heatmap_height} of the main heatmap} |
|
131 | 133 |
\item{column_gap}{this modifies \code{column_gap} of the main heatmap} |
132 | 134 |
\item{cluster_columns}{this modifies \code{cluster_columns} of the main heatmap} |
133 | 135 |
\item{clustering_distance_columns}{this modifies \code{clustering_distance_columns} of the main heatmap} |
... | ... |
@@ -139,7 +141,8 @@ Draw a list of heatmaps |
139 | 141 |
\item{column_order}{this modifies \code{column_order} of the main heatmap} |
140 | 142 |
\item{column_km}{this modifies \code{column_km} of the main heatmap} |
141 | 143 |
\item{column_split}{this modifies \code{column_split} of the main heatmap} |
142 |
- \item{heatmap_body_width}{this set the value in \code{\link{ht_opt}} and reset back after the plot is done} |
|
144 |
+ \item{width}{this modifies \code{width} of the main heatmap} |
|
145 |
+ \item{heatmap_width}{this modifies \code{heatmap_width} of the main heatmap} |
|
143 | 146 |
\item{heatmap_row_names_gp}{this set the value in \code{\link{ht_opt}} and reset back after the plot is done} |
144 | 147 |
\item{heatmap_column_names_gp}{this set the value in \code{\link{ht_opt}} and reset back after the plot is done} |
145 | 148 |
\item{heatmap_row_title_gp}{this set the value in \code{\link{ht_opt}} and reset back after the plot is done} |
... | ... |
@@ -171,4 +174,5 @@ Zuguang Gu <z.gu@dkfz.de> |
171 | 174 |
\examples{ |
172 | 175 |
# There is no example |
173 | 176 |
NULL |
177 |
+ |
|
174 | 178 |
} |
... | ... |
@@ -11,11 +11,11 @@ Method dispatch page for \code{draw}. |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 | 13 |
\item \code{\link{draw,AnnotationFunction-method}}, \code{\link{AnnotationFunction-class}} class method |
14 |
-\item \code{\link{draw,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
|
15 |
-\item \code{\link{draw,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
14 |
+\item \code{\link{draw,Legends-method}}, \code{\link{Legends-class}} class method |
|
16 | 15 |
\item \code{\link{draw,HeatmapAnnotation-method}}, \code{\link{HeatmapAnnotation-class}} class method |
16 |
+\item \code{\link{draw,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
17 |
+\item \code{\link{draw,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
|
17 | 18 |
\item \code{\link{draw,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
18 |
-\item \code{\link{draw,Legends-method}}, \code{\link{Legends-class}} class method |
|
19 | 19 |
} |
20 | 20 |
} |
21 | 21 |
\examples{ |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_annotation-Heatmap-method} |
2 | 2 |
\alias{draw_annotation,Heatmap-method} |
3 |
+\alias{draw_annotation} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw Heatmap Annotations on the Heatmap |
5 | 6 |
} |
... | ... |
@@ -30,8 +31,8 @@ This function returns no value. |
30 | 31 |
\author{ |
31 | 32 |
Zuguang Gu <z.gu@dkfz.de> |
32 | 33 |
} |
33 |
-\alias{draw_annotation} |
|
34 | 34 |
\examples{ |
35 | 35 |
# There is no example |
36 | 36 |
NULL |
37 |
+ |
|
37 | 38 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_annotation_legend-HeatmapList-method} |
2 | 2 |
\alias{draw_annotation_legend,HeatmapList-method} |
3 |
+\alias{draw_annotation_legend} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw legends for all column annotations |
5 | 6 |
} |
... | ... |
@@ -27,8 +28,8 @@ This function returns no value. |
27 | 28 |
\author{ |
28 | 29 |
Zuguang Gu <z.gu@dkfz.de> |
29 | 30 |
} |
30 |
-\alias{draw_annotation_legend} |
|
31 | 31 |
\examples{ |
32 | 32 |
# There is no example |
33 | 33 |
NULL |
34 |
+ |
|
34 | 35 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_dend-Heatmap-method} |
2 | 2 |
\alias{draw_dend,Heatmap-method} |
3 |
+\alias{draw_dend} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw Heatmap Dendrograms |
5 | 6 |
} |
... | ... |
@@ -33,8 +34,8 @@ This function returns no value. |
33 | 34 |
\author{ |
34 | 35 |
Zuguang Gu <z.gu@dkfz.de> |
35 | 36 |
} |
36 |
-\alias{draw_dend} |
|
37 | 37 |
\examples{ |
38 | 38 |
# There is no example |
39 | 39 |
NULL |
40 |
+ |
|
40 | 41 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_dimnames-Heatmap-method} |
2 | 2 |
\alias{draw_dimnames,Heatmap-method} |
3 |
+\alias{draw_dimnames} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw row names or column names |
5 | 6 |
} |
... | ... |
@@ -29,8 +30,8 @@ This function returns no value. |
29 | 30 |
\author{ |
30 | 31 |
Zuguang Gu <z.gu@dkfz.de> |
31 | 32 |
} |
32 |
-\alias{draw_dimnames} |
|
33 | 33 |
\examples{ |
34 | 34 |
# There is no example |
35 | 35 |
NULL |
36 |
+ |
|
36 | 37 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_heatmap_body-Heatmap-method} |
2 | 2 |
\alias{draw_heatmap_body,Heatmap-method} |
3 |
+\alias{draw_heatmap_body} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw the Heatmap Body |
5 | 6 |
} |
... | ... |
@@ -28,8 +29,8 @@ This function returns no value. |
28 | 29 |
\author{ |
29 | 30 |
Zuguang Gu <z.gu@dkfz.de> |
30 | 31 |
} |
31 |
-\alias{draw_heatmap_body} |
|
32 | 32 |
\examples{ |
33 | 33 |
# There is no example |
34 | 34 |
NULL |
35 |
+ |
|
35 | 36 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_heatmap_legend-HeatmapList-method} |
2 | 2 |
\alias{draw_heatmap_legend,HeatmapList-method} |
3 |
+\alias{draw_heatmap_legend} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw legends for all heatmaps |
5 | 6 |
} |
... | ... |
@@ -27,8 +28,8 @@ This function returns no value. |
27 | 28 |
\author{ |
28 | 29 |
Zuguang Gu <z.gu@dkfz.de> |
29 | 30 |
} |
30 |
-\alias{draw_heatmap_legend} |
|
31 | 31 |
\examples{ |
32 | 32 |
# There is no example |
33 | 33 |
NULL |
34 |
+ |
|
34 | 35 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{draw_heatmap_list-HeatmapList-method} |
2 | 2 |
\alias{draw_heatmap_list,HeatmapList-method} |
3 |
+\alias{draw_heatmap_list} |
|
3 | 4 |
\title{ |
4 | 5 |
Draw the list of heatmaps |
5 | 6 |
} |
... | ... |
@@ -25,8 +26,8 @@ This function returns no value. |
25 | 26 |
\author{ |
26 | 27 |
Zuguang Gu <z.gu@dkfz.de> |
27 | 28 |
} |
28 |
-\alias{draw_heatmap_list} |
|
29 | 29 |
\examples{ |
30 | 30 |
# There is no example |
31 | 31 |
NULL |
32 |
+ |
|
32 | 33 |
} |
... | ... |
@@ -10,8 +10,8 @@ Method dispatch page for \code{draw_title}. |
10 | 10 |
\code{draw_title} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
-\item \code{\link{draw_title,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
14 | 13 |
\item \code{\link{draw_title,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
14 |
+\item \code{\link{draw_title,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
15 | 15 |
} |
16 | 16 |
} |
17 | 17 |
\examples{ |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{get_color_mapping_list-HeatmapAnnotation-method} |
2 | 2 |
\alias{get_color_mapping_list,HeatmapAnnotation-method} |
3 |
+\alias{get_color_mapping_list} |
|
3 | 4 |
\title{ |
4 | 5 |
Get a List of ColorMapping objects |
5 | 6 |
} |
... | ... |
@@ -25,8 +26,8 @@ A list of \code{\link{ColorMapping-class}} objects or an empty list. |
25 | 26 |
\author{ |
26 | 27 |
Zuguang Gu <z.gu@dkfz.de> |
27 | 28 |
} |
28 |
-\alias{get_color_mapping_list} |
|
29 | 29 |
\examples{ |
30 | 30 |
# There is no example |
31 | 31 |
NULL |
32 |
+ |
|
32 | 33 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{get_legend_param_list-HeatmapAnnotation-method} |
2 | 2 |
\alias{get_legend_param_list,HeatmapAnnotation-method} |
3 |
+\alias{get_legend_param_list} |
|
3 | 4 |
\title{ |
4 | 5 |
Get a List of Annotation Legend Parameters |
5 | 6 |
} |
... | ... |
@@ -25,8 +26,8 @@ A list. |
25 | 26 |
\author{ |
26 | 27 |
Zuguang Gu <z.gu@dkfz.de> |
27 | 28 |
} |
28 |
-\alias{get_legend_param_list} |
|
29 | 29 |
\examples{ |
30 | 30 |
# There is no example |
31 | 31 |
NULL |
32 |
+ |
|
32 | 33 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{heatmap_legend_size-HeatmapList-method} |
2 | 2 |
\alias{heatmap_legend_size,HeatmapList-method} |
3 |
+\alias{heatmap_legend_size} |
|
3 | 4 |
\title{ |
4 | 5 |
Size of the heatmap legend viewport |
5 | 6 |
} |
... | ... |
@@ -25,8 +26,8 @@ A \code{\link[grid]{unit}} object. |
25 | 26 |
\author{ |
26 | 27 |
Zuguang Gu <z.gu@dkfz.de> |
27 | 28 |
} |
28 |
-\alias{heatmap_legend_size} |
|
29 | 29 |
\examples{ |
30 | 30 |
# There is no example |
31 | 31 |
NULL |
32 |
+ |
|
32 | 33 |
} |
... | ... |
@@ -30,7 +30,7 @@ There are following parameters to control all heatmaps: |
30 | 30 |
\item{heatmap_column_names_gp}{set \code{column_names_gp} in all \code{\link{Heatmap}}.} |
31 | 31 |
\item{heatmap_row_title_gp}{set \code{row_title_gp} in all \code{\link{Heatmap}}.} |
32 | 32 |
\item{heatmap_column_title_gp}{set \code{column_title_gp} in all \code{\link{Heatmap}}.} |
33 |
- \item{heatmap_border}{set \code{\link{border}} in all \code{\link{Heatmap}}.} |
|
33 |
+ \item{heatmap_border}{set \code{border} in all \code{\link{Heatmap}}.} |
|
34 | 34 |
} |
35 | 35 |
|
36 | 36 |
Following parameters to control the legends: |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{make_column_cluster-Heatmap-method} |
2 | 2 |
\alias{make_column_cluster,Heatmap-method} |
3 |
+\alias{make_column_cluster} |
|
3 | 4 |
\title{ |
4 | 5 |
Make Cluster on Columns |
5 | 6 |
} |
... | ... |
@@ -28,8 +29,8 @@ A \code{\link{Heatmap-class}} object. |
28 | 29 |
\author{ |
29 | 30 |
Zuguang Gu <z.gu@dkfz.de> |
30 | 31 |
} |
31 |
-\alias{make_column_cluster} |
|
32 | 32 |
\examples{ |
33 | 33 |
# There is no example |
34 | 34 |
NULL |
35 |
+ |
|
35 | 36 |
} |
... | ... |
@@ -82,6 +82,7 @@ Make layout for the complete plot |
82 | 82 |
\item{ht_gap}{gap between heatmaps, should be a \code{\link[grid]{unit}} object.} |
83 | 83 |
\item{main_heatmap}{name or index for the main heatmap} |
84 | 84 |
\item{padding}{padding of the plot} |
85 |
+ \item{auto_adjust}{whether autoadjust} |
|
85 | 86 |
\item{row_dend_side}{if auto adjust, where to put the row dendrograms for the main heatmap} |
86 | 87 |
\item{row_sub_title_side}{row sub title} |
87 | 88 |
\item{column_dend_side}{column dend} |
... | ... |
@@ -132,4 +133,5 @@ Zuguang Gu <z.gu@dkfz.de> |
132 | 133 |
\examples{ |
133 | 134 |
# There is no example |
134 | 135 |
NULL |
136 |
+ |
|
135 | 137 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{make_row_cluster-Heatmap-method} |
2 | 2 |
\alias{make_row_cluster,Heatmap-method} |
3 |
+\alias{make_row_cluster} |
|
3 | 4 |
\title{ |
4 | 5 |
Make Cluster on Rows |
5 | 6 |
} |
... | ... |
@@ -27,8 +28,8 @@ A \code{\link{Heatmap-class}} object. |
27 | 28 |
\author{ |
28 | 29 |
Zuguang Gu <z.gu@dkfz.de> |
29 | 30 |
} |
30 |
-\alias{make_row_cluster} |
|
31 | 31 |
\examples{ |
32 | 32 |
# There is no example |
33 | 33 |
NULL |
34 |
+ |
|
34 | 35 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{map_to_colors-ColorMapping-method} |
2 | 2 |
\alias{map_to_colors,ColorMapping-method} |
3 |
+\alias{map_to_colors} |
|
3 | 4 |
\title{ |
4 | 5 |
Map Values to Colors |
5 | 6 |
} |
... | ... |
@@ -34,4 +35,3 @@ col_fun = colorRamp2(c(0, 1), c("white", "red")) |
34 | 35 |
cm = ColorMapping(col_fun = col_fun) |
35 | 36 |
map_to_colors(cm, runif(10)) |
36 | 37 |
} |
37 |
-\alias{map_to_colors} |
... | ... |
@@ -15,6 +15,8 @@ packLegend(...,gap = unit(2, "mm"), row_gap = unit(2, "mm"), column_gap = unit(2 |
15 | 15 |
|
16 | 16 |
\item{...}{A list of objects returned by \code{\link{Legend}}.} |
17 | 17 |
\item{gap}{Gap between two neighbouring legends. The value is a \code{\link[grid]{unit}} object with length of one.} |
18 |
+ \item{row_gap}{Horizontal gaps between legends.} |
|
19 |
+ \item{column_gap}{Vertical gaps between legends.} |
|
18 | 20 |
\item{direction}{The direction to arrange legends.} |
19 | 21 |
\item{max_width}{The maximal width of the total packed legends. It only works for horizontal arrangement. If the total width of the legends exceeds it, the legends will be arranged into several rows.} |
20 | 22 |
\item{max_height}{Similar as \code{max_width}, but for the vertical arrangment of legends.} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{prepare-Heatmap-method} |
2 | 2 |
\alias{prepare,Heatmap-method} |
3 |
+\alias{prepare} |
|
3 | 4 |
\title{ |
4 | 5 |
Prepare the Heatmap |
5 | 6 |
} |
... | ... |
@@ -33,8 +34,8 @@ The \code{\link{Heatmap-class}} object. |
33 | 34 |
\author{ |
34 | 35 |
Zuguang Gu <z.gu@dkfz.de> |
35 | 36 |
} |
36 |
-\alias{prepare} |
|
37 | 37 |
\examples{ |
38 | 38 |
# There is no example |
39 | 39 |
NULL |
40 |
+ |
|
40 | 41 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{resize-HeatmapAnnotation-method} |
2 | 2 |
\alias{resize,HeatmapAnnotation-method} |
3 |
+\alias{resize} |
|
3 | 4 |
\title{ |
4 | 5 |
Resize the Width or Height of Heatmap Annotations |
5 | 6 |
} |
... | ... |
@@ -40,8 +41,8 @@ the basic rule is: |
40 | 41 |
and \code{anno_simple_size} is disabled. |
41 | 42 |
6. If \code{simple_anno_size_adjust} is \code{FALSE}, the size of the simple annotations will not change. |
42 | 43 |
} |
43 |
-\alias{resize} |
|
44 | 44 |
\examples{ |
45 | 45 |
# There is no example |
46 | 46 |
NULL |
47 |
+ |
|
47 | 48 |
} |
... | ... |
@@ -10,8 +10,8 @@ Method dispatch page for \code{row_dend}. |
10 | 10 |
\code{row_dend} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
-\item \code{\link{row_dend,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
14 | 13 |
\item \code{\link{row_dend,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
14 |
+\item \code{\link{row_dend,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
|
15 | 15 |
} |
16 | 16 |
} |
17 | 17 |
\examples{ |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{set_component_height-Heatmap-method} |
2 | 2 |
\alias{set_component_height,Heatmap-method} |
3 |
+\alias{set_component_height} |
|
3 | 4 |
\title{ |
4 | 5 |
Set Height of Heatmap Component |
5 | 6 |
} |
... | ... |
@@ -29,8 +30,8 @@ The \code{\link{Heatmap-class}} object. |
29 | 30 |
\author{ |
30 | 31 |
Zuguang Gu <z.gu@dkfz.de> |
31 | 32 |
} |
32 |
-\alias{set_component_height} |
|
33 | 33 |
\examples{ |
34 | 34 |
# There is no example |
35 | 35 |
NULL |
36 |
+ |
|
36 | 37 |
} |
... | ... |
@@ -1,5 +1,6 @@ |
1 | 1 |
\name{set_component_width-Heatmap-method} |
2 | 2 |
\alias{set_component_width,Heatmap-method} |
3 |
+\alias{set_component_width} |
|
3 | 4 |
\title{ |
4 | 5 |
Set Width of Heatmap Component |
5 | 6 |
} |
... | ... |
@@ -28,8 +29,8 @@ The \code{\link{Heatmap-class}} object. |
28 | 29 |
\author{ |
29 | 30 |
Zuguang Gu <z.gu@dkfz.de> |
30 | 31 |
} |
31 |
-\alias{set_component_width} |
|
32 | 32 |
\examples{ |
33 | 33 |
# There is no example |
34 | 34 |
NULL |
35 |
+ |
|
35 | 36 |
} |
... | ... |
@@ -10,11 +10,11 @@ Method dispatch page for \code{show}. |
10 | 10 |
\code{show} can be dispatched on following classes: |
11 | 11 |
|
12 | 12 |
\itemize{ |
13 |
+\item \code{\link{show,ColorMapping-method}}, \code{\link{ColorMapping-class}} class method |
|
13 | 14 |
\item \code{\link{show,AnnotationFunction-method}}, \code{\link{AnnotationFunction-class}} class method |
14 |
-\item \code{\link{show,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
|
15 |
-\item \code{\link{show,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
16 | 15 |
\item \code{\link{show,HeatmapAnnotation-method}}, \code{\link{HeatmapAnnotation-class}} class method |
17 |
-\item \code{\link{show,ColorMapping-method}}, \code{\link{ColorMapping-class}} class method |
|
16 |
+\item \code{\link{show,SingleAnnotation-method}}, \code{\link{SingleAnnotation-class}} class method |
|
17 |
+\item \code{\link{show,HeatmapList-method}}, \code{\link{HeatmapList-class}} class method |
|
18 | 18 |
\item \code{\link{show,Heatmap-method}}, \code{\link{Heatmap-class}} class method |
19 | 19 |
} |
20 | 20 |
} |