modify_layout | R Documentation |
modify_layout
## S4 method for signature 'Iheatmap'
modify_layout(x, new_layout)
x |
Iheatmap |
new_layout |
list of new layout parameter |
modified Iheatmap object
mat <- matrix(rnorm(20), ncol = 5, nrow = 4)
hm <- main_heatmap(mat) %>% modify_layout(list(margin = list(b = 120)))
# Print heatmap if interactive session
if (interactive()) hm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.