'Does the order of a HClust object give the order in which the labels are appearing on a tree?
I'm doing WGCNA on expression data and I performed a clustering using the hclust function:
hierADJ=hclust(as.dist(dissADJ), method="average" )
Then I plot this clustering (with some additional color coming from module detection)
plotDendroAndColors(hierADJ, colors = colorStaticADJ,
dendroLabels = FALSE, abHeight = 0.99,
main = "Gene dendrogram and module colors")
See the results in the image below
My question is: when I have the hclust object hierADJ, if I do:
hierADJ$labels[hierADJ$order]
Does it give me the order in which the tips appear (from left to right)? I really need to be sure of that before going further in my analyses
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

