to_widget: to_widget

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
2
## S4 method for signature 'Iheatmap'
to_widget(p)

Arguments

p

Iheatmap-class object to convert

Value

htmlwidgets object

Author(s)

Alicia Schep

See Also

iheatmap, main_heatmap

Examples

1
2
3
4
5
6
mat <- matrix(rnorm(24), nrow = 6)
hm <- iheatmap(mat) %>% to_widget()
class(hm)

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

iheatmapr documentation built on July 8, 2020, 7:18 p.m.