Once you generate a heat map using 'heatmap()' function in R, is there a way to focus in and extract the members of a specific cluster?
I have a heat map of 4500 x 420 members and it would be useful.
Thanks.
Once you generate a heat map using 'heatmap()' function in R, is there a way to focus in and extract the members of a specific cluster?
I have a heat map of 4500 x 420 members and it would be useful.
Thanks.
Specify
keep.dendro = TRUE
and you should have data available under the list elements ofRowv
andColv
.This is a slightly modified example from
?heatmap
.EDIT
If you want group members, you need to cut the tree first.