to_widget | R Documentation |
Function to convert link{Iheatmap-class}
object to widget object
## S4 method for signature 'Iheatmap'
to_widget(p)
p |
|
htmlwidgets object
Alicia Schep
iheatmap
, main_heatmap
mat <- matrix(rnorm(24), nrow = 6)
hm <- iheatmap(mat) %>% to_widget()
class(hm)
# Print heatmap if interactive session
if (interactive()) hm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.