Learn R Programming

iheatmapr (version 0.7.1)

modify_layout: modify_layout

Description

modify_layout

Usage

# S4 method for Iheatmap
modify_layout(x, new_layout)

Value

modified Iheatmap object

Arguments

x

Iheatmap

new_layout

list of new layout parameter

Examples

Run this code

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 

Run the code above in your browser using DataLab