Question: extracting the genes associated with the clusters
2
gravatar for Bogdan
2.1 years ago by
Bogdan750
Palo Alto, CA, USA
Bogdan750 wrote:

Dear all,

after clustering a gene expression dataset (with heatmap.2, or pheatmap), please can you advise, how can i extract the group of gene names corresponding to the dendrogram ? thanks,

-- bogdan

ADD COMMENTlink modified 2.0 years ago by Biostar ♦♦ 20 • written 2.1 years ago by Bogdan750
4

You can use cutree function,

cutree(hc, k)

have a look at following links:

http://stackoverflow.com/questions/20912001/extract-groups-from-distance-matrix-using-cutree-in-r

http://stackoverflow.com/questions/11489696/how-to-know-about-group-information-in-cluster-analysis-hierarchical

hope this will help you !!!

ADD REPLYlink written 2.1 years ago by Mike1.3k

Thanks, Mike, yes, definitely, very useful ;)

ADD REPLYlink written 2.1 years ago by Bogdan750

This should have been posted as an answer. Thanks!

ADD REPLYlink written 2.0 years ago by theobroma221.1k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1578 users visited in the last hour