r - Put the Y axis on the left of a heatmap? -
How do I do a heatmap with the Y axis label on the left? Does it seem to be the default to correct me need to create a custom axis. Whatever I had changed: The margin still needs to be changed to accommodate the switch. By changing the present value of 0 to 5, I was making enough space for example from the help page: This was a test case: axis () ?
The heatmap function is hard-coded, but to be located on the other side it will be very easy to change only one number. Type "heatmap" on your console and change the first argument from 4 to 2 in the second
axis () call.
axis (2, iy, labels = labRow, las = 2, line = -0.5, tick = 0, # 2 4 cex.axis = used to be cexRow)
... par (mar = c (margins [1L], 5, 0, Margin [2L]))
x
Comments
Post a Comment