Look at this post.
Individual colors for heatmaps using ngsplot
deepTools explain different colors. http://deeptools.readthedocs.org/en/latest/content/tools/plotHeatmap.html
This article below explains what you want - colors for methylation in different samples, etc
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4220495/figure/f2/
See their gallery, they provide some code inside.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
As in what? Something is missing from your post ;)
The figure you linked to was likely made with heatmap.3 in R, for whatever that's worth.
Thanks Devon. Iam using heatmap.plus (but should be similar) The thing that I dont understand is the color coding for different columns inside the heatmap. We usually use a colorscale for expression range, but this one is a binary matrix- so not sure how to show the colors for each type. Please let me know of any suggestions.
They have the actual heatmap, but then they also have group labels in different colors.
As Igor said, the binary coloring is for group designations.