Description Usage Arguments Value Examples
Basic heatmap using ggplot
| 1 2 3 4 5 6 7 | ggheatmap_base(
  df,
  x = "cluster",
  y = "predicted",
  value = "Freq",
  show_number = FALSE
)
 | 
| df | data.frame | 
| x | column name used in the x axis | 
| y | column name used in the y axis | 
| value | value of the color to be used | 
| show_number | logical indicating wether the value of z should be printed in the plot. | 
a ggplot object
| 1 2 3 | my_df <- data.frame(x = 1:2, y = 1:2, z = 1:2)
ggheatmap_base(my_df, x = "x", y = "y", value = "z", show_number = TRUE)
ggheatmap_base(my_df, x = "x", y = "y", value = "z", show_number = FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.