superheat icon indicating copy to clipboard operation
superheat copied to clipboard

FR: Add more options to control yr & yt

Open voxnonecho opened this issue 7 years ago • 1 comments

For example, I want to identify the top 3 values in a bar graph on the right side:

v_yr <- rowSums(mat, na.rm = TRUE)
col_yr <- rep("grey50", length(v_yr))
col_yr[tail(order(v_yr), 3)] <- viridis::plasma(1) 

But I would also like to add text labels on those specific values.

voxnonecho avatar May 02 '17 22:05 voxnonecho

You should be able to color the top three values manually as your code seems to indicate. I will think about adding text capabilities to the adjacent plots. Currently it's not high on my priority list (but it is also easier than other things on my priority list!).

I'll let you know when I get around to this!

rlbarter avatar May 03 '17 17:05 rlbarter