I am interested to correlate 2 variables like gene expression and protein expression using Spearman correlation coefficient analysis as depicted in Fig. A ( Int. J. Mol. Sci. 2018 , 19 (12), 3836; https://doi.org/10.3390/ijms19123836). I searched on the net to see the code for correlation but these codes give the heatmaps with Spearman correlation with same X and Y axis as can be seen in Fig. B. ( ggplot2 : Quick correlation matrix heatmap - R software and data visualization - Easy Guides - Wiki - STHDA.
I need a heatmap showing variables from gene expression data on 1 axis (var 1) and protein expression on other axis (var 2)
Thanks in advance for your kind help.