writeHeatmap | R Documentation |
Heatmap()
which allows automatic scaling to specified cell dimensions and character width, and writes the output to an appropriately sized imge file.Wrapper for Heatmap()
which allows automatic scaling to specified cell dimensions and character width, and writes the output to an appropriately sized imge file.
writeHeatmap(
mat,
filename,
...,
fn = Heatmap,
conds = NULL,
left_annotation = NULL,
cell.h = NULL,
cell.w = NULL,
char.h = NULL,
char.w = NULL,
height = NULL,
width = NULL,
heatmap_height = NULL,
heatmap_width = NULL,
units = "in",
path = ".",
append.date = F,
imgfn = dir.pdf,
buffer.h = 0,
buffer.w = 0
)
mat |
A numeric matrix to be plotted. |
filename |
The output file name. |
... |
Additional arguments to plotting function. |
fn |
The plotting function. It should extend |
conds |
A matrix of factors to be used as |
cell.h |
The cell height. |
cell.w |
The cell width. |
char.h |
The characther width for column names. |
char.w |
The character width for row names. |
height |
The heatmap height. Ignored if |
width |
The heatmap width. Ignored if |
heatmap_height |
The heatmap height. Ignored if |
heatmap_width |
The heatmap width. Ignored if |
units |
The unit scale to be used for |
path |
The output directory. |
append.date |
Whether to write the output to a subdirectory with today's date. |
imgfn |
The function to write the image. It should extend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.