Displaying 2 results from an estimated 2 matches for "redblu".
Did you mean:
redblue
2012 Nov 07
1
Issues with Heat Map Images
...to
display properly. Here is my code:
heatdata <- read.csv("logFC_bin17.csv", sep=",")
heatdata <- heatdata[,2:5]
heatdata_matrix <- data.matrix(heatdata)
rownames(heatdata_matrix) = paste("Gene", 2:655)
x11()
data_heatmap <- heatmap.2(heatdata_matrix, col=redblue(75), scale="row",
key=TRUE, symkey=FALSE, density.info="none", trace="none", margins=c(10,10),
cexRow=0.5)
jpeg("Heatmap_bin17.jpeg", width=8, height=8, units="in", res=300,
quality=100)
The heat map looks like this (with red green coloring):
<...
2011 Apr 26
0
Questions about 'heatmap.2' function
...--------------------------------------------------------------------
jpeg('/plots/heatmap.jpg')
heatmap.2(data, scale="column", key=TRUE, trace="none", xlab="individuals",
ylab="genes", main="heatmap", density.info="histogram", col=redblue)
dev.off()
------------------------------------------------------------------------------
I have two problems now:
1) I don't know how to use the 'ColSideColors' option to emphasize the
'groups' rather than 'each individuals'.
2) When I only included 100 genes in my hea...