ropensci/iheatmapr

Using multiple colors for axis ticks

Opened this issue · 2 comments

Hi,

thanks for this great package! I was wondering if it possible to use multiple colors for axis ticks (which I would use to highlight a specific row) like what happens here. Would that be possible?

Thank you,

Domenico

Hi Domenico/@domenico-simone,

AFIK this is not currently possible. Though I'd like to see a PR adding this feature. 😉

As an alternative, you could use add_row_anotation (or add_col_annotation, respectively) to visually add the same information to the heatmap.

Cheers,
Marcel

Mmm I don't know if I'm capable of attempting such a thing :-) . I was thinking to overlay an additional add_row_labels on the first one, but as a result I get the second one in a different position (instead of getting the two labels overlapped). I will explore your idea about add_row_annotation, thank you!