[R] Heatmap problem

Gregory Warnes gregory.warnes at mac.com
Mon Nov 26 02:46:45 CET 2007


Hi Allen,

The dotted line is an 'extra' feature to help quantify the difference  
between adjacent color boxes.  It can be turned off by using the  
argument heatmap.2(..., trace="none").  For more details do

	library(gplots)
	?heatmap.2

-G

On Nov 22, 2007, at 12:03PM , affy snp wrote:

> Hi Marco,
>
> Thanks! I actually tried heatmap.2 earlier but I observed
> dot line along each column generated as well.
>
> Allen
>
> On 11/22/07, Boks, M.P.M. <M.P.M.Boks at umcutrecht.nl> wrote:
>>
>> Try Heatmap.2 in the gplots package.
>>
>> BW,
>>
>> Marco
>>
>>
>> -----Oorspronkelijk bericht-----
>> Van: r-help-bounces at r-project.org [mailto:r-help-bounces at r- 
>> project.org]
>> Namens Jim Lemon
>> Verzonden: donderdag 22 november 2007 11:21
>> Aan: affy snp
>> CC: r-help at r-project.org
>> Onderwerp: Re: [R] Heatmap problem
>>
>>
>> affy snp wrote:
>>> Hi friends,
>>>
>>> I used heatmap(as.matrix(y2),col=rainbow(256),scale = "column") to
>>> generate the heatmap. But it did not show the code that which color
>>> correspond the value. Is there any parameter for this in heatmap()?
>>>
>> Hi Allen,
>> If you want colors corresponding to the values with a color  
>> legend, have
>>
>> a look at color2D.matplot in the plotrix package.
>>
>> Jim
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list