Displaying 1 result from an estimated 1 matches for "input_heatmap".
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi,
I want to generate a heatmap for my data (in a matrix). However, the
data has some missing values (represented as blank).
I get the following errors (with the blanks and with blanks replaced by
NA and including the option rm.na = TURE):
> filename = "input_heatmap.txt"
> g <- as.matrix(filedata)
> fg <- rainbow(nrow(g), start=0, end=.3)
> gg <- rainbow(ncol(g), start=0, end=.3)
> hg <- heatmap(g, col = cm.colors(256), scale="column",na.rm = TRUE,
+ RowSideColors = fg, ColSideColors = gg, margin=c(5,10),
+ xlab = &q...