Description Usage Arguments Details Author(s) Examples
Global Options for Heatmaps
1 |
... |
Options, see 'Details' section. |
RESET |
Reset all the option values. |
READ.ONLY |
Please ignore this argument. |
LOCAL |
Please ignore this argument. |
ADD |
Please ignore this argument. |
You can set some parameters for all heatmaps/annotations simultaneously by this global function. Pleast note you should put it before your heatmap code and reset all option values after drawing the heatmaps to get rid of affecting next heatmap.
There are following parameters to control all heatmaps:
set row_names_gp
in all Heatmap
.
set column_names_gp
in all Heatmap
.
set row_title_gp
in all Heatmap
.
set column_title_gp
in all Heatmap
.
set border
in all Heatmap
.
Following parameters control the legends:
set title_gp
in all heatmap legends and annotation legends.
set title_position
in all heatmap legends and annotation legends.
set labels_gp
in all heatmap legends and annotation legends.
set grid_width
in all heatmap legends and annotation legends.
set grid_height
in all heatmap legends and annotation legends.
set border
in all heatmap legends and annotation legends.
Gap between legends. The value should be a vector of two units. One for gaps between vertical legends and one for the horizontal legends. If only one single unit is specified, the same gap set for the vertical and horizontal legends.
Following parameters control heatmap annotations:
border
in all HeatmapAnnotation
.
size for the simple annotation.
Following parameters control the space between heatmap components:
space bewteen dendrograms and heatmap body.
space between row/column names and heatmap body.
space between row/column titles and heatmap body.
space between column annotations and heatmap body.
space between row annotations and heatmap body.
space between heatmap legends and heatmaps
space between annotation legends and heatmaps
Other parameters:
whether use hclust
to speed up clustering?
when heatmap is split, whether to add a dashed line to mark parent dendrogram and children dendrograms?
You can get or set option values by the traditional way (like options
) or by $
operator:
1 2 3 4 5 6 7 |
Reset to the default values by ht_opt(RESET = TRUE)
.
Zuguang Gu <z.gu@dkfz.de>
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.