save_iheatmap {iheatmapr} | R Documentation |
save_iheatmap
Description
save an link{Iheatmap-class}
object, either as standalone HTML or as static
pdf/png/jpeg
Usage
## S4 method for signature 'Iheatmap,character'
save_iheatmap(p, filename, ...)
Arguments
p |
|
filename |
name of file |
... |
additional arguments to |
Details
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.
Author(s)
Alicia Schep
Examples
mat <- matrix(rnorm(24), nrow = 6)
hm <- iheatmap(mat)
## Not run:
save_iheatmap(hm, "example_iheatmap.png")
## End(Not run)
[Package iheatmapr version 0.7.1 Index]