[BioC] Heatmap_plus & distfun

Heidi Dvinge heidi at ebi.ac.uk
Thu Sep 17 15:47:30 CEST 2009


Hello Vivek,

I don't know Heatmap_plus, but other heatmap functions (such as  
heatmap.2 from gplots) usually have an argument called "distfun",  
used to calculate the distance between rows/columns. I think I've  
sometimes used something along the lines of

 > heatmap.2(data, distfun=function(x) as.dist(1-cor(t(x)), ...)

but I can't remember exactly.

HTH
\Heidi

On 17 Sep 2009, at 14:03, vivek modi wrote:

> hi,
>
> i am new to Bioconductor. The question may sound trivial.
>
> I am using Heatmap_plus.
> Instead of the default options I need to do hierarchical clustering  
> using
> Pearson correlation coefficient.
> How can I precisely do this ?
>
>
>
> Thanks,
>
> Vivek.
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/ 
> gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list