[BioC] More heatmap.2 graphics

Al Ivens alicat at sanger.ac.uk
Thu Mar 9 16:30:51 CET 2006


Hi,

In a similar vein, is there a simple (?) way of manually setting the
height/width of the heatmap rows/columns per se, not just change font
size scaling of labels/legends, i.e. for non-symmetrical matrices?

Thanks for any suggestions,

Cheers,

al

> -----Original Message-----
> From: bioconductor-bounces at stat.math.ethz.ch 
> [mailto:bioconductor-bounces at stat.math.ethz.ch] On Behalf Of 
> Marc Saric
> Sent: 09 March 2006 15:19
> To: Wittner, Ben, Ph.D.
> Cc: bioconductor at stat.math.ethz.ch
> Subject: Re: [BioC] Fine tuning heatmap.2 graphics
> 
> 
> Wittner, Ben, Ph.D. wrote:
> 
> > I have used the following code for setting margins for 
> heatmap() (not
> > heatmap2()):
> > 
> > margin.factor <- 12
> > marg <- max(5, min(20, 
> ceiling(margin.factor*max.nchar/ncol(expr3))))
> > margins <- c(marg, marg)
> 
> Thanks, will try.
> 
> 
> > where max.nchar is the max length of column label and expr3 is the 
> > matrix being displayed. It worked okay but not completely 
> > satisfactorily.
> 
> > BTW, what is the advantage of heatmap2() over heatmap()?
> 
> Mostly that you get more options to tweak the graphics, like 
> a color-key and some more color-schemas out of the box.
> 
> 
> > Does anyone know of a heatmap()-like function that can add multiple 
> > rows of column colors (each row corresponding, say, to various 
> > phenotypic parameters) such as can be done with dChip?
> 
> Not that I would know.
> 
> 
> -- 
> Bye,
> 
> Marc Saric
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch 
> https://stat.ethz.ch/mailman/listinfo/biocondu> ctor
>



More information about the Bioconductor mailing list