Dear group members,

I plan to have color key value ranging from -2 to 2, not from -2 to 1.5 as shown in the image. I understand this is based on my data since I used the build-in option of pheatmap. I didn't add the argument color = colorRampPalette.
If I use the color argument, I need to set up the break and the corresponding pheatmap didn't have continuous color range. How should I get the continuous color transition in my heatmap and the color key value is between -2 and 2 if I use the build-in option of pheatmap?
Thanks,
Yong