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

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

ADD REPLYlink written 3.1 years ago by Bogdan970

This should have been posted as an answer. Thanks!

ADD REPLYlink written 3.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: 849 users visited in the last hour