to_plotly | R Documentation |
Function to convert link{Iheatmap-class}
object to a plotly spec
either as a list or json
to_plotly_list(p)
to_plotly_json(p)
p |
|
Returns a JSON for a plotly spec for to_plotly_spec and as a list of same plotly object for to_plotly_list.
mat <- matrix(rnorm(24), nrow = 6)
hm_json <- iheatmap(mat) %>% to_plotly_json()
hm_list <- iheatmap(mat) %>% to_plotly_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.