to_widget {iheatmapr}R Documentation

to_widget

Description

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

Usage

## 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


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

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

[Package iheatmapr version 0.7.1 Index]