Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #breaks
  2. bk <- c(0,seq(0,10,by=2))
  3. #colors (one less than breaks
  4. mycols <- c("white",colorRampPalette(colors = c("green","red"))(length(bk)-2))
  5.  
  6.  
  7. A_heatmap <- heatmap(A_matrix, Rowv=NA, Colv=NA, col=mycols,][1] breaks=bk, scale ="none")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement