Compute heatmap with dendrogram on x-axis and y-axis using ggplot2.

ggheatmap(data, dendrogram_columns = TRUE, dendrogram_rows = TRUE,
line_size = 0.1, font_size = 11, font_size_x = 11,
font_size_y = 11, distance_method = "euclidean",
cluster_method = "ward.D2", scale_name = "value",
scale_revert = FALSE)

## Arguments

data A data.frame. The data on which to draw the heatmap/dendrogram. A logical. Should the dendrogram for columns be plotted? A logical. Should the dendrogram for row be plotted? A numeric. Value for the line size. A numeric. Value for the font size. A numeric. Value for the font size of the x-axis. A numeric. Value for the font size of the y-axis. A character. The distance method to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". A character. The agglomeration method to be used. This should be one of "ward.D", "ward.D2", "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC). A character. The name of the legend. A logical. Should the scale values be reversed?

## Value

A ggplot object.