Re: [R] heatmap color distribution

2005-07-21 Thread Wiener, Matthew
You can use the breaks argument in image to do this. (You don't specify a function you're using, but other heatmap functions probably have a similar parameter.) Look across all your data, figure out the ranges you want to have different colors, and specify the appropriate break points in each

Re: [R] heatmap color distribution

2005-07-21 Thread Jake Michaelson
Thanks for the reply. As I understand it, breaks only controls the binning. The problem I'm having is that each subset heatmap has slightly different min and max log2 intensities. I'd like the colors to be based on the overall (complete set) max and min, not the subsets' max and min --

Re: [R] heatmap color distribution

2005-07-21 Thread Wiener, Matthew
mean? HTH, Matt -Original Message- From: Jake Michaelson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 10:45 AM To: Wiener, Matthew Cc: R-help@stat.math.ethz.ch Subject: Re: [R] heatmap color distribution Thanks for the reply. As I understand it, breaks only controls

Re: [R] heatmap color distribution

2005-07-21 Thread Ruben Roa
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jacob Michaelson Sent: 21 July 2005 12:26 To: r-help@stat.math.ethz.ch Subject: [R] heatmap color distribution Hi all, I've got a set of gene expression data, and I'm plotting several heatmaps