In this post, we will see how can we add text annotation to heatmaps made with ggplot2. In ggplot2, we can make simple heatmaps using ggplot2's geom_raster() and geom_tile(). In this post, we will use geom_text() to add text annotation, i.e. numerical values in the heatmap. We … [Read more...] about How to add text annotation to heatmap with ggplot2
Heatmaps with ggplot2
Heatmap from Matrix using ggplot2 in R
Heatmaps are data visualization tool that displays a matrix of data as a matrix of colors. For example, matrix elements with low values will have lighter colors and the elelments with high values will have a darker color. In earlier post we saw examples of making heatmap … [Read more...] about Heatmap from Matrix using ggplot2 in R
How To Make Simple Heatmaps with ggplot2 in R?
Heatmaps visualizes multi-dimensional data as a matrix filled with colors based on their numerical value. For example the portion of matrix with low values will have one color and the portion with high values will have another color. This can help us identify the pattern in the … [Read more...] about How To Make Simple Heatmaps with ggplot2 in R?