SOM Toolbox Online documentation


a = som_clget(sC, mode, ind)

SOM_CLGET Get properties of specified clusters.

  a = som_clget(sC, mode, ind)
     inds = som_clget(sC,'dinds',20); 
     col  = som_clget(sC,'depth',[1 2 3 20 54]); 

  Input and output arguments: 
    sC     (struct) clustering struct
    mode   (string) what kind of property is requested
                    'binds' (a union over) indeces of base clusters 
                            belonging to the specified cluster(s)
                    'dinds' (a union over) indeces of the data vectors 
                            belonging to the specified cluster(s)
                    'dlen'  number of data vectors belonging 
                            to each of the specified cluster(s)
                    'depth' depths of the specified clusters
                            (depth of the root cluster is 0, 
                             depth of its children are 1, etc.)
                    'child' (a union over) children clusters 
                             of specified cluster(s), including
                             the clusters themselves
                    'base'  base partitioning based on given 
    ind    (vector) indeces of the clusters
    a      (vector) the answer


[ SOM Toolbox online doc ]