dynamic tree cut
1
0
Entering edit mode
5.8 years ago
druggable ▴ 60

Hi,

I am clustering log2fold changes of genes. I am confused about the output of the dynamictreecut package. If I run the following:

dynamic_hybrid = cutreeHybrid(clust_fc, as.matrix(dist_fc), deepSplit=1)
clusters = dynamic_hybrid$labels

how do I know which genes are assigned to which clusters? Will the ordering of cluster assignment to genes be rownames of the input clust_fc?

In other words, what is the proper way of extracting the cluster assignment for each gene in the clustering?

Thank you very much.

teabonng

clustering dynamictreecut • 2.0k views
ADD COMMENT
2
Entering edit mode
5.8 years ago

As per the docs for cutreeHybrid(), the function returns a list in which one element is called labels and contains the cluster assignments, i.e. a cluster indicator vector C such that C[i] = k means item i belongs to cluster k.

ADD COMMENT

Login before adding your answer.

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