Heatmap color gradient for each row

I would like to color a heatmap so that each row has a full max - min color gradient. I can do this by trellising the rows, but then I cannot use dendrograms. Is there a way to get full range colors on each row without trellising?

(1) Answer