Extracting subclusters from original data
1
0
Entering edit mode
Mina • 0
@mina-13589
Last seen 7.4 years ago

I am analyzing a nontargeted metabolomic data set using ComplexHeatmap. After I made a heatmap of all identified metabolites, I decided to continue the analyses only of compounds that are in one cluster. How do I extract the data from e.g. Cluster1 and make a new dataframe out of it?

complexheatmap metabolomics • 1.9k views
ADD COMMENT
0
Entering edit mode
sina.nassiri ▴ 130
@sinanassiri-10062
Last seen 3.3 years ago
Switzerland/Lausanne

I'm not familiar with ComplexHeatmap, but if it produces a tree (as resulting from hclust e.g.) you can directly pass it to cutree().

ADD COMMENT
0
Entering edit mode

Thank you Sina.  That did help.

ADD REPLY

Login before adding your answer.

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