powered by
draw cor heatmap
corheatmap(exp, x, y, color = c("#2fa1dd", "white", "#f87669"))
a ggplot object
A numeric matrix
genes or cells from exp
color for heatmap
Xiaojie Sun
x = rownames(exprSet_hub1)[1:3] y = rownames(exprSet_hub1)[4:7] corheatmap(exprSet_hub1,x,y)
Run the code above in your browser using DataLab