plot_heatmap | R Documentation |
Plots a heatmap using geom_tile
.
plot_heatmap( df, x, y, fill, label = NULL, label_size = TRUE, x_order = NULL, y_order = NULL, xlab = "x title", ylab = "y title", legend_lab = "legend title", xlab_text_angle = 90, ylab_text_angle = 0, xlab_text_size = NULL, ylab_text_size = NULL, xhjust = 0.95, xvjust = 0.2, yhjust = NULL, yvjust = NULL, xtitle_text_size = NULL, ytitle_text_size = NULL, legend_title_size = NULL, legend_text_size = NULL, geom_tile_color = "white", plotly_plot = FALSE, lwd = 0.5, linetype = 1 )
df |
df |
x |
character |
y |
character |
fill |
character |
label |
character. Annotate tiles |
label_size |
numeric. Text size for tile annotations |
x_order |
chracter vector. |
y_order |
character vetor |
xlab |
character |
ylab |
character |
legend_lab |
character |
xlab_text_angle |
numeric |
ylab_text_angle |
numeric |
xlab_text_size |
numeric |
ylab_text_size |
numeric |
xhjust |
numeric |
xvjust |
numeric |
yhjust |
numeric |
yvjust |
numeric |
xtitle_text_size |
numeric |
ytitle_text_size |
numeric |
legend_title_size |
numeric |
legend_text_size |
numeric |
geom_tile_color |
character |
plotly_plot |
logical. Set as |
lwd |
numeric. geom_tile line width |
linetype |
numeric. geom_tile line type |
TODO: read this blogpost
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.