Interpretaion of dendrogram height in WGCNA?
1
2
Entering edit mode
4.8 years ago

Hi there, I successfully constructed a gene coexpression network using the package WGCNA. Everything is okay. But right now, I want to get a deeper understanding of the output of this tool. Specifically, When I received a output something like:

https://i.imgur.com/nxsPEmx.png

As you can see, there are lot of branches with different heights. So what the difference between a longer branch's height [red rectangle] and a shorter branch's height [purple rectangle] ? And is it normal or not that dendrogram height can above 1? thank in advance!

WGCNA coexpression network • 4.6k views
ADD COMMENT
2
Entering edit mode
4.8 years ago

The heights relate to the distance metric that you used for clustering. As you are using WGCNA, the distance metric is likely One minus Pearson correlation (1 - r) due to the fact that the default parameter for this that is passed to the blockwiseModules() function is corType = "pearson".

So, the samples in the blue box are highly correlated to all of those other samples at the top of the dendrogram. Their tree height difference is roughly 1.0 - 0.9 = 0.1. Translated into Pearson, this is 1 - 0.1 = 0.9, i.e., highly correlated.

Those samples at the very bottom are weakly correlated to all of those in the tree structure at the top - 1 - (1.0 - 0.3) = 0.3

Kevin

ADD COMMENT
0
Entering edit mode

Many thanks for your helpful answer. I got additionally one question for u, sir. Is it normal or not that dendrogram height can above 1? I did follow a step-by-step tutorial. Something like that: https://imgur.com/vJKP0VA.png https://imgur.com/vJKP0VA

ADD REPLY
1
Entering edit mode

Yes, I believe, when you are using a signed WGCNA network, because Pearson correlation values can be negative, too. You should check the default values of your functions in order to understand the distance metric used. For blockwiseModules(), just type the following at the command prompt:

?blockwiseModules
ADD REPLY
1
Entering edit mode

OMG, I forgot that Pearson corelation values can be negative. Thanks for your helps again!

ADD REPLY

Login before adding your answer.

Traffic: 2728 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