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
character
character
character
character. Annotate tiles
numeric. Text size for tile annotations
chracter vector.
character vetor
character
character
character
numeric
numeric
numeric
numeric
numeric
numeric
numeric
numeric
numeric
numeric
numeric
numeric
character
logical. Set as TRUE
if wrapping this plot with
ggplotly
. Default is FALSE
.
numeric. geom_tile line width
numeric. geom_tile line type
ggplot object
TODO: read this blogpost