Heat maps using R
[This article was first published on minimalR.com » r-bloggers, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
One of the great things about following blogs on R is seeing what others are doing & being able to replicate and try out things on my own data sets.
For example, some great links on rapidly creating heat maps using R.
- Drawing Heat Maps in R
- How to Make a Heatmap – a Quick and Easy Solution
- ggplot2: Quick Heatmap Plotting
The basic steps in the process are (i) to scale the numeric data using the scale
function, (ii) create a Euclidean distance matrix using the dist
function and then (iii) plotting the heat map with the heatmap
function.
To leave a comment for the author, please follow the link and comment on their blog: minimalR.com » r-bloggers.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.