Learn R Programming

ComplexHeatmap (version 1.10.2)

ht_global_opt: Global graphic options for heatmaps

Description

Global graphic options for heatmaps

Usage

ht_global_opt(..., RESET = FALSE, READ.ONLY = NULL, LOCAL = FALSE)

Arguments

...
options, see 'details' section
RESET
reset all the option values
READ.ONLY
TRUE means only to return read-only values, FALSE means only to return non-read-only values, NULL means to return both.
LOCAL
switch local mode

Value

  • Depends on the options users selected.

Details

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 plotting.

There are following parameters:

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

You can get or set option values by the traditional way (like options) or by $ operator:

# to get option values ht_global_opt("heatmap_row_names_gp") ht_global_opt$heatmap_row_names_gp

# to set option values ht_global_opt("heatmap_row_names_gp" = gpar(fontsize = 8)) ht_global_opt$heatmap_row_names_gp = gpar(fontsize = 8)

Examples

Run this code
# no example for this function
NULL

Run the code above in your browser using DataLab