save_pdf | R Documentation |
save_pdf() takes as input a Heatmap from ComplexHeatmap and save it to PDF file
save_pdf(
.heatmap,
filename,
width = NULL,
height = NULL,
units = c("in", "cm", "mm")
)
.heatmap |
A 'Heatmap' |
filename |
A character string. The name of the output file/path |
width |
A 'double'. Plot width |
height |
A 'double'. Plot height |
units |
A character string. units ("in", "cm", or "mm") |
maturing
It simply save an 'Heatmap' to a PDF file use pdf() function in the back end
NA
[Mangiola and Papenfuss., 2020](https://joss.theoj.org/papers/10.21105/joss.02472)
Mangiola, S. and Papenfuss, A.T., 2020. "tidyHeatmap: an R package for modular heatmap production based on tidy principles." Journal of Open Source Software. doi:10.21105/joss.02472.
tidyHeatmap::heatmap(
dplyr::group_by(tidyHeatmap::pasilla, location, type),
.column = sample,
.row = symbol,
.value = `count normalised adjusted`,
) |>
save_pdf(tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.