modify_layout: modify_layout

Description Usage Arguments Value Examples

Description

modify_layout

Usage

1
2
## S4 method for signature 'Iheatmap'
modify_layout(x, new_layout)

Arguments

x

Iheatmap

new_layout

list of new layout parameter

Value

modified Iheatmap object

Examples

1
2
3
4
5
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 

iheatmapr documentation built on March 17, 2019, 1:05 a.m.