How to make the differences of residue cross correlation more obvious?
Issue #585
resolved
The Residue Cross Correlation
outputs the plot on the left, in which the blue and red colours are not sufficiently different.
This paper introduced a method to enhance the small differences by scaling the cij
with a sigmoildal function, which outputs the plot on the right.
Can I ask if this scaling method is reasonable? Thank you!
Comments (3)
-
-
I agree. There are some beautiful color schemes out there that will more clearly show things than the defaults of the current generation bio3d plot functions. Many folks, including myself, increasingly go down the ggplot2 route for these types of figures now...
-
reporter - changed status to resolved
- Log in to comment
I think it's a matter of colour.
In such heatmap plots, the white colour of middle range usually lighten colours of two opposite sides. To overcome this invisibility, I change colour-scaling using
library(ggplot2)
.The plots above are created by same codes/objects, but differ only in their gradient colour scales:
The plotting codes are different in one function:
scale_fill_gradient2()
for three-colour scale.scale_fill_gradient()
for two-colour scale.Seems that the sigmoidal function results in an artificial DCCM with magnified numeral values. I suggest try different colour scales, which may make sense.