Learn R Programming

iheatmapr (version 0.7.1)

to_widget: to_widget

Description

Function to convert link{Iheatmap-class} object to widget object

Usage

# S4 method for Iheatmap
to_widget(p)

Value

htmlwidgets object

Arguments

p

Iheatmap-class object to convert

Author

Alicia Schep

See Also

iheatmap, main_heatmap

Examples

Run this code

mat <- matrix(rnorm(24), nrow = 6)
hm <- iheatmap(mat) %>% to_widget()
class(hm)

# Print heatmap if interactive session 
if (interactive()) hm 

Run the code above in your browser using DataLab