Skip to content
Plotly templates

Annotated Heatmap

Expression/correlation matrix with annotations.

Template previewPlotly
Rendering…

Make it your own.

{
  "data":[{"type":"heatmap",
    "z":[[1,0.85,0.32,-0.1],[0.85,1,0.41,-0.2],[0.32,0.41,1,0.6],[-0.1,-0.2,0.6,1]],
    "x":["G1","G2","G3","G4"],"y":["G1","G2","G3","G4"],
    "colorscale":"RdBu","zmid":0,"showscale":true}],
  "layout":{"title":"Correlation matrix"}
}