Info

This question is closed. Reopen it to edit or answer.

Ranking a clustergram for one variable

1 view (last 30 days)
Bran
Bran on 20 Feb 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a clustergram with many variables (5 to be exact) I am using the CGobj= clustergram function which has been quite sucessful however, I would now like to cluster or Rank (ie put objects together) based on one variable and then see if the other variable order in a similar way. How do I do this as the only option I can see is to cluter along all rows or all columns. This would essentially involve ranking (or reordering my objects) So that one variable is ranked red to green and then see how that effects the colour mapping of the other variables. Any ideas?
Code so far
CGobj = clustergram(AA,'RowLabels',[1 2 3 4 5 6 7 8 9 10 ],'ColumnLabels',{'VAR1','VAr2','VAR3','VAR4','Var5'},'Standardize',1,'Cluster',2)

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!