| 1.3 Heat Map with Dendrogram(Pro)Heat-Map-Dendrogram More information:
 IntroductionThe Heat Map with Dendrogram app can be used to 
  Impute missing values, standardize data and perform log2 transform Perform hierarchical cluster analysis along columns and rows Plot heat map with dendrogram
 File:Intro Heat Map with Dendrogram 01.png
 Heatmap with Dendrogram Dialog BoxInput DataSelect data in the worksheet to plot heatmap with dendrogram.
 
| Input | Specify the input data to plot. |  
| Exchange Column Row | Specify whether exchange the column and row of input data to plot the heatmap. |  
| Column Labels in | Specify column labels for heatmap's x axis. Use row number as heatmap's x axis tick labels.
 Use 1st row in the worksheet as heatmap's x axis tick labels.
 Use column's long Name in the worksheet as heatmap's x axis tick labels.
 Use column's Units in the worksheet as heatmap's x axis tick labels.
 Use column's Comments in the worksheet as heatmap's x axis tick labels.
 |  
| Row Labels in | Specify row labels for heatmap's y axis. Use row number as heatmap's y axis tick labels.
 Use 1st column in the worksheet as heatmap's y axis tick labels.
 |  TransformTransform data before plotting.
 
| Impute Missing Value | Specify the way to handle missing values. Keep missing values
 Replace missing value with row mean.
 Replace missing value with column mean
 |  
| Standardize | Specify the method to standardize variables. Data are not standardized.
 Columns are standardized with zero mean and unit standard deviation. 
 Rows are standardized with zero mean and unit standard deviation.
 |  
| Log2 Transform | Specify whether to perform log2 transform. |  SettingsSpecify settings for the Hierarchical Cluster Analysis along columns and rows.
 
| Cluster | Specify the dimension to cluster data. Perform Hierarchical Cluster Analysis along rows and cluster columns.
 Perform Hierarchical Cluster Analysis along columns and cluster rows.
 Perform Hierarchical Cluster Analysis along rows and cluster columns, then along columns and cluster rows.
 |  
| Cluster Columns | Specify settings to cluster columns. Specify the linkage method to calculate the distance between a cluster and a new cluster. See cluster method options in Hierarchical Cluster Analysis
 Specify a distance type to calculate the distance between two columns. See distance type options in Hierarchical Cluster Analysis
 Specify the number of clusters. The value should be greater than 0 and no more than the number of columns.
 Specify the gap between clusters. 
 |  
| Cluster Rows | Specify settings to cluster rows. Specify the linkage method to calculate the distance between a cluster and a new cluster. See cluster method options in Hierarchical Cluster Analysis
 Specify a distance type to calculate the distance between two rows. See distance type options in Hierarchical Cluster Analysis
 Specify the number of clusters. The value should be greater than 0 and no more than the number of rows.
 Specify the gap between clusters. 
 |  Side Colors for Column/RowSpecify whether and how to show side colors for columns and rows of heatmap.
 
| Side Colors |  |  
| Position |  |  
| Width |  |  
| Gap |  |  Plot DataSpecify the worksheet for heatmap plot data.
 RecalculateSpecify the way to recalculate and update the result if there is any change in the input data or settings.
 
| None | The output will not be connected to the source data, and any change will not result in an update of the result. And you can't change settings to recalculate the result. |  
| Auto | The result automatically updates when source data change. You can also change settings to recalculate the result. |  
| Manual | The result will not automatically update when the source data changes. You must manually activate the update by clicking the Recalculate button /Button_Recalculate_Manual.png?v=8174) in the Standard toolbar. You can also change settings to recalculate the result. |  HeatmapDendrogram X-Function (Pro)Brief InformationPerform hierarchical cluster analysis, and plot heatmap with dendrogram.
 Command Line Usage
HeatMapDendrogram iw:=[Book1]Sheet1 -r 2 impute:=0 std:=2;
 Variables
| Display Name
 | Variable Name
 | I/O and
 Type
 | Default Value
 | Description |  
| Input Worksheet | iw | Input
 Worksheet
 | <active> | Specify the worksheet for data to plot. |  
| Column Labels in | clabel | Input
 int
 | 2 | Specify column labels for heatmap's x axis. Option list:
 Use row number as heatmap's x axis tick labels.
 Use 1st row in the worksheet as heatmap's x axis tick labels.
 Use column's long Name in the worksheet as heatmap's x axis tick labels.
 Use column's Units in the worksheet as heatmap's x axis tick labels.
 Use column's Comments in the worksheet as heatmap's x axis tick labels.
 |  
| Row Labels in | rlabel | Input
 int
 | 1 | Specify row labels for heatmap's y axis. Option list:
 Use row number as heatmap's y axis tick labels.
 Use 1st column in the worksheet as heatmap's y axis tick labels.
 |  
| Impute Missing Value | impute | Input
 int
 | 0 | Specify the way to handle missing values. Option list:
 Keep missing values
 Replace missing value with row mean.
 Replace missing value with column mean
 |  
| Standardize | std | Input
 int
 | None | Specify the method to standardize variables. Option list:
 Data are not standardized.
 Columns are standardized with zero mean and unit standard deviation. 
 Rows are standardized with zero mean and unit standard deviation.
 |  
| Log2 Transform | log2 | Input
 int
 | 0 | Specify whether to perform log2 transform. |  
| Cluster | cluster | Input
 int
 | 2 | Specify the dimension to cluster data. Option list:
 Perform Hierarchical Cluster Analysis along rows and cluster columns.
 Perform Hierarchical Cluster Analysis along columns and cluster rows.
 Perform Hierarchical Cluster Analysis along rows and cluster columns, then along columns and cluster rows.
 |  
| Cluster Columns | trcol | Input
 TreeNode
 | <unassigned> | Specify settings to cluster columns. |  
| Cluster Rows | trrow | Input
 TreeNode
 | <unassigned> | Specify settings to cluster rows. |  
| Plot Data | od | Output
 Worksheet
 | [<new>]<new>! | Specify the worksheet for heatmap plot data. |  trcolThe trcol treenode specifies settings to cluster columns.
 Syntax: trcol.Treenode:= <value>
 Example: trcol.nc:=2
 
| Treenode | Label | Type | Default | Description |  
| link | Cluster Method | int | 2 | Specify the linkage method to calculate the distance between a cluster and a new cluster. See cluster method options in hcluster X-Function. |  
| dist | Distance Type | int | 0 | Specify a distance type to calculate the distance between two columns. See distance type options in hcluster X-Function. |  
| nc | Number of Clusters | int | 1 | Specify the number of clusters. The value should be greater than 0 and no more than the number of columns. |  trrowThe trrow treenode specifies settings to cluster rows.
 Syntax: trrow.Treenode:= <value>
 Example: trrow.nc:=2
 
| Treenode | Label | Type | Default | Description |  
| link | Cluster Method | int | 2 | Specify the linkage method to calculate the distance between a cluster and a new cluster. See cluster method options in hcluster X-Function. |  
| dist | Distance Type | int | 0 | Specify a distance type to calculate the distance between two rows. See distance type options in hcluster X-Function. |  
| nc | Number of Clusters | int | 1 | Specify the number of clusters. The value should be greater than 0 and no more than the number of rows. |  |