heatplot function, using rank instead of original value