Entering edit mode
Hi,
I'd like to scale by row, similar to a feature in heatmap.2 for the complexHeatmap package and wondered if there was a way anyone knows of?
Cheers
Hi,
I'd like to scale by row, similar to a feature in heatmap.2 for the complexHeatmap package and wondered if there was a way anyone knows of?
Cheers
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks for the simple answer!
Interestingly, when I went and took a look at the heatmap.2 code for scale by row, it's:
Right. The scale() function works on the columns, so you have to do some transposing.