Question: extracting the genes associated with the clusters
2
gravatar for Bogdan
2.6 years ago by
Bogdan880
Palo Alto, CA, USA
Bogdan880 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.5 years ago by Biostar ♦♦ 20 • written 2.6 years ago by Bogdan880
4
gravatar for Mike
2.6 years ago by
Mike1.4k
UK
Mike1.4k wrote:

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 COMMENTlink written 2.6 years ago by Mike1.4k

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

ADD REPLYlink written 2.6 years ago by Bogdan880

This should have been posted as an answer. Thanks!

ADD REPLYlink written 2.5 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: 2636 users visited in the last hour