PURPOSE
This app can be used to create a polar heatmap with a circular dendrogram and a radial dendrogram. And the circular dendrogram supports to swap subtrees and reset.
INSTALLATION
Download the file PolarHeatmapDendrogram.opx, and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps Gallery window.
NOTE: This tool requires OriginPro.
OPERATION
- Make the worksheet for input data active. Click the Polar Heatmap with Dendrogram icon in the Apps Gallery window to open the dialog.
- In the opened dialog's Input tab, Data Format includes two options: Radius across columns and Angle across columns, which defines whether rows or columns represent angles. Column Labels in and Row Labels in specify column and row labels, which will be used as labels for the polar heatmap. If None is chosen, it will show row numbers.
- In the Transform tab, Impute Missing Value defines the way to handle missing values. Standardize can be used to standardize rows or columns. Log2 Transform option specifies whether to perform log2 transformation.
- In the Settings tab, Cluster along Radius check box determines whether to show radial dendrogram. Cluster along Angle branch and Cluster along Radius specify settings for the circular dendrogram and radial dendrogram respectively, including Cluster Method, Distance Type and Number of Clusters.
- In the Graph tab, Show Radius Axis option can be used to show distance axis for the circular dendrogram. In the Polar Heatmap group, Start Angle defines the start position of the polar heatmap in the angular direction, and Radial Scale Factor specifies the ratio of the polar heatmap size to the circular dendrogram one in the radial direction. Distance Scale Factor for Radial Dendrogram option can be used to change the radial dendrogram's size in the radial direction. Uncheck Enable Anti-Aliasing for Heatmap option for large data, it will turn off speed mode, hide grid lines and disable anti-aliasing for heatmap.
- Click OK button, a polar heatmap graph with a circular dendrogram appears. When Recalculate is set, right click on the branch node of the circular dendrogram in the graph's second layer, and choose Swap Subtrees or Reset Tree from the context menu to adjust leaf node positions.
Sample OPJU File
This app provides a sample OPJU file. Right click on the Polar Heatmap with Dendrogram icon in the Apps Gallery window, and choose Show Samples Folder from the short-cut menu. A folder will open. Drag-and-drop the project file PolarHeatmapEx.opju from the folder onto Origin. The Notes window in the project shows detailed steps.
Note: If you wish to save the OPJU after changing, it is recommended that you save to a different folder location (e.g. User Files Folder).