Heatmap_plus & distfun
2
0
Entering edit mode
vivek modi ▴ 20
@vivek-modi-3517
Last seen 10.1 years ago
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]]
• 821 views
ADD COMMENT
0
Entering edit mode
Heidi Dvinge ★ 2.0k
@heidi-dvinge-2195
Last seen 10.1 years ago
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
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 5 weeks ago
EMBL European Molecular Biology Laborat…
Hi Vivek one way to increase the probability of getting a helpful answer is to follow the posting guide, which helps other people understand what you want. http://www.bioconductor.org/docs/postingGuide.html > 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. > ------------------------------------------------------- Wolfgang Huber EMBL http://www.embl.de/research/units/genome_biology/huber
ADD COMMENT

Login before adding your answer.

Traffic: 1024 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6