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. <[EMAIL PROTECTED]> wrote: > > Try Heatmap.2 in the gplots package. > > BW, > > Marco > > > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens Jim Lemon > Verzonden: donderdag 22 november 2007 11:21 > Aan: affy snp > CC: r-help@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@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@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.