save_iheatmap | R Documentation |
save an link{Iheatmap-class}
object, either as standalone HTML or as static
pdf/png/jpeg
## S4 method for signature 'Iheatmap,character'
save_iheatmap(p, filename, ...)
p |
|
filename |
name of file |
... |
additional arguments to |
Note that this function requires the webshot package. If deploying
a shiny app that calls this function in shinyapps.io, loading the webshot
library and calling webshot::install_phantomjs()
is needed for the the save
functionality to work.
Alicia Schep
mat <- matrix(rnorm(24), nrow = 6)
hm <- iheatmap(mat)
## Not run:
save_iheatmap(hm, "example_iheatmap.png")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.