Re: [R] problem with heatmap.2 in package gplots generating non-finite breaks

2009-07-21 Thread Mark Kimpel
Never mind, the problem seems to be that I have ignored the warning "Using scale="row" or scale="column" when breaks arespecified can produce unpredictable results.Please consider using only one or the other." I just stop specifying the breaks and it works fine. Mark -

[R] problem with heatmap.2 in package gplots generating non-finite breaks

2009-07-21 Thread Mark Kimpel
I have written a wrapper for heatmap.2 called heatmap.w.row.and.col.clust which auto-generates breaks using breaks<-round((c(seq(from=(-20 * stddev), to=(20 * stddev/20, digits = 2) #(stddev in this case = 2.5) This has always worked well in the past but now I am getting an error that non-fin