Set property of clustergram object
set(
CGobj
)
set(CGobj
, 'PropertyName
')
set(CGobj
, 'PropertyName
', PropertyValue
)
set(CGobj
, 'Property1Name
', Property1Value
,
'Property2Name
', Property2Value
,
...)
CGobj  Clustergram object created with the function clustergram . 
PropertyName  Property name for a clustergram object. 
You cannot set the properties of a clustergram object if you created it using the Export Group to Workspace command in the Clustergram window.
set(
displays
possible values for all properties that have a fixed set of property
values in CGobj
)CGobj
, a clustergram object.
set(
displays
possible values for a specific property that has a fixed set of property
values in CGobj
, 'PropertyName
')CGobj
, a clustergram object.
set(
sets
the specified property of CGobj
, 'PropertyName
', PropertyValue
)CGobj
, a clustergram
object.
set(
sets the specified properties of CGobj
, 'Property1Name
', Property1Value
,
'Property2Name
', Property2Value
,
...)CGobj
,
a clustergram object.
Properties of a Clustergram Object
Property  Description 

RowLabels
 Vector of numbers or cell array of character
vectors to label the rows in the dendrogram and heat map. Default
is a vector of values 1 through M,
where M is the number of rows in Data ,
the matrix of data used by the clustergram function
to create the clustergram object. 
ColumnLabels  Vector of numbers or cell array of character
vectors to label the columns in the dendrogram and heat map. Default
is a vector of values 1 through N,
where N is the number of columns in Data ,
the matrix of data used by the clustergram function
to create the clustergram object. 
Standardize  Numeric value that specifies the
dimension for standardizing the values in

Cluster
 Numeric value that specifies the
dimension for clustering the values in

RowPdist  Character vector that specifies
the distance metric to pass to the NoteIf the distance metric requires extra arguments, then 
ColumnPdist  Character vector that specifies
the distance metric to pass to the NoteIf the distance metric requires extra arguments, then 
Linkage  Character vector or twoelement cell
array of character vectors that specifies the linkage method to pass
to the linkage function (Statistics and Machine
Learning Toolbox software)
to use to create the hierarchical cluster tree for rows and columns.
If a twoelement cell array of character vectors, the first element
is used for linkage between rows, and the second element is used for
linkage between columns. For information on choices, see the linkage function. 
Dendrogram  Scalar or twoelement numeric vector
or cell array that specifies the 'colorthreshold' property
to pass to the dendrogram function (Statistics and Machine
Learning Toolbox software)
to create the dendrogram plot. If a twoelement numeric vector or
cell array, the first element is for the rows, and the second element
is for the columns. For more information, see the dendrogram function. 
OptimalLeafOrder  Property to enable or disable the optimal
leaf ordering calculation, which determines the leaf order that maximizes
the similarity between neighboring leaves. Choices are true (enable)
or false (disable). TipDisabling the optimal leaf ordering calculation can be useful when working with large data sets because this calculation uses a large amount of memory and can be very time consuming. 
LogTrans  Controls the log_{2} transform of Data ,
the matrix of data used to create the clustergram object, from natural
scale. Choices are true or false . 
Colormap  Either of the following:

DisplayRange  Positive scalar that specifies the display range of standardized values. For example,
if you specify 
Symmetric  Property to force the color scale of
the heat map to be symmetric around zero. Choices are true or false . 
Ratio  Either of the following:
It specifies the ratio of space that the row
and column dendrograms occupy relative to the heat map. If 
Impute  Any of the following:

RowMarkers  Optional structure array for annotating
the groups (clusters) of rows determined by the

ColumnMarkers  Optional structure array for annotating
groups (clusters) of columns determined by the

[1] DeRisi, J.L., Iyer, V.R., and Brown, P.O. (1997). Exploring the metabolic and genetic control of gene expression on a genomic scale. Science 278, 680–686s.