O'Reilly logo

R Data Visualization Cookbook by Atmajitsinh Gohil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a three-dimensional heat map and a stereo map

We have studied two-dimensional heat maps, but R also allows us to plot three-dimensional interactive heat maps using the NeatMap package. The NeatMap package manual states the limitation of using the heatmap() function as "The traditional clustered heatmap makes use of cluster analysis to re-order rows and columns such that similar elements are placed together. However, cluster analysis is a poor choice for ordering method since this does not provide a unique ordering".

Creating a three-dimensional heat map and a stereo map

Getting ready

In order to plot a three-dimensional heat map and a stereo map, we would need to install the NeatMap package available ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required