
How to have multiple ColumnLabelsColor (or RowLabelsColor) in clustergram?
4 ビュー (過去 30 日間)
古いコメントを表示
I would like to plot a heatmap/clustergram similar to the picture attached here. Each column is a sample, which has multiple variables such as gender and collection time etc. I want to display multiple rows of colors to label these variables (where each row represent one varaible) for each sample, but currently I only figure out how to display one variable by setting the "ColumnLabelsColor" property in clustergram. Is it possible to have multiple rows of label colors like in the picture attached? Or is there other good alternatives to do this? Thanks for the help!

0 件のコメント
回答 (1 件)
Abhishek Singh
2019 年 3 月 6 日
Assuming you have the clustergram already, you can Right-click a branch node in the dendrogram(clustergram) to display a menu of options. Then you can go on to do what you require by using Set Group Color option.

For further details you can look into the example provided in following link:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Expression Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!