Displaying 3 results from an estimated 3 matches for "data_heatmap".
2012 Nov 07
1
Issues with Heat Map Images
...image, but I can't seem to get the gene names 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 loo...
2011 Aug 08
1
heatmap is producing unwanted horizontal and vertical lines?
...ach point represents
a 1Km square on a map. Each point is either a floating point number or NA. I load the
data in with:
data <- read.csv("matrix.csv", sep=',')
Convert the data to a matrix with:
data_matrix <- data.matrix(data)
and then produce the heatmap with:
data_heatmap <- heatmap(data_matrix,Rowv=NA,Colv='Rowv',margin=c(0,0))
The heatmap is displayed in a separate window as expected and looks correct apart
from fine white banding lines spaced out evenly over the image running horizontally
across the image?
At first I thought it was my data but I ch...
2011 Jan 05
1
Heat map in R
...03
F 2485 03
G 1560 04
H 3759 04
I 2792 05
J 7081 05
K 1922 06
. . .
. . .
. . .
ZZZ 1354 43
My code in R is something like this:
data<-read.table("/Users/jsmt/desktop/test.txt",header=T)
data_matrix<-data.matrix(data)
data_heatmap <- heatmap(data_matrix, Rowv=NA, Colv=NA, col = cm.colors(256),
scale="column", margins=c(5,10))
I end up getting a heat map split into 3 columns: sample, depth, gene and
the colours are just in big blocks that don't mean anything.
Can anyone help me with my dataframe or my R co...