This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Row labelling heatmap in R

Could I have specific row labels in bold text but not all of them when creating a heatmap using R? (eg. using heatmap.2 function)

r heatmap heatmap.2 labels

2 answers

I just figured out that you can also give labels different colors using heatmap.2 with argument colRow.

I don't think it is possible with heatmap.2, but with ComplexHeatmap I know you can give labels different colors, see here for example (4th figure).

Log in to answer this question.