Displaying 1 result from an estimated 1 matches for "n3413871".
2011 Mar 28
2
How to save heatmap as image or pdf
Hello Everyone,
I am using R for creating heatmap from a square matrix. Below is my script
to do so
my_map <- read.csv("Desktop/input.csv", sep=",")
my_matrix <- data.matrix(my_map)
my_heatmap <- heatmap(my_matrix, Rowv=NA, Colv=NA, col = cm.colors(256),
scale="column", margins=c(5,10))
I get a beautiful plot as output, but I could not save this plot