Skip to content

Instantly share code, notes, and snippets.

@slavailn
Created April 29, 2016 22:43
Show Gist options
  • Save slavailn/e58c026da869aba91cf8afd27bad47b0 to your computer and use it in GitHub Desktop.
Save slavailn/e58c026da869aba91cf8afd27bad47b0 to your computer and use it in GitHub Desktop.
Draw a heatmap with side colors using the gene expression matrix
heatmap.2(as.matrix(res), scale = "row", col = redgreen(75),
ColSideColors=color_vector, trace = "none",
margins = c(14, 13), cexRow = 0.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment