Dear All,

I have a data matrix that has 17 samples and over 800 genes that belong to ten different gene families.  I want to show these gene families in heatmap by marking them. 

I performed heatmap but I do not know how to show gene families in the heatmap graph.

Anyone knows how to that?
Take a look at the heatmap.3 and ComplexHeatmap packages to mark your genes.