Dear all, I try to create a Heatmap of inter-biomarker correlations using PROC SGPLOT. However, I repeatedly failed to adjust the color scale. I would like to define white as the "0"-level of Pearson's r, and blue for negative and red for positive values, as I think that this would be the intuitive Interpretation. See the code below. I tried to define colormodel(STARTCOLOR "-1") etc. but this was not helpful at all. I am grateful for any suggestions. Thank you and kind regards proc sgplot data=CorrLong noautolegend; heatmap x=Variable y=CorrelationID / colorresponse=Correlation name="nope1" discretex discretey x2axis colormodel=ThreeColorRamp; text x=Variable y=CorrelationID text=p_value / textattrs=(size=5pt) x2axis name='nope2'; label correlation='Pearson Correlation'; yaxis reverse display=(nolabel); x2axis display=(nolabel); gradlegend; run;
... View more