R Programming

R Programming


Hi can anyone guide me how to make a simple heat map in R?





There is github.com/XiaoLuo-boy/ggheatmap which is fully ggplot in case you feel more comfortable with it rather than the suggested pheatmap/ComplexHeatmap packages and want to have a consistent ggplot theme and fonts/sizes/shapes in your plots.

An excellent tutorial for the pheatmap package is the one by Kamil Slowikowski.

A good overview of the different types of packages and functions that can be used for heatmaps is the one by datanovia. They’ve basically sorted the packages according to ease of use; the more options one has to tweak individual aspects of the heatmap, the more complex the code gets.

You can make a heatmap with gplots , this is a great package and you can use Rcolorbrewer for doing better aesthetic graphics.

before adding your answer.

Traffic: 2299 users visited in the last hour

Source link