Help - Old:Set branch widths by node/branch data

From TreeGraph help
ArticleOnOlderVersion.png This article describes this feature for TreeGraph 2.0.22 or (not necessaryly all) earlier versions. See here for the article on the latest version and a list on other available article versions.


TreeGraph allows to display node/branch data as branch widths. You can choose any node/branch data column which contains numeric values as source.

The dialog

The "Set branch widths by node data"-dialog

You can access the Set branch widths by node/branch data-dialog by selecting "Set branch widths by node/branch data" from the format menu.

Source

You can specify the type of node/branch data that contains the source values for the branch widths here. (Selected data columns cannot contain string values.)

Minimal / maximal branch width

This two values describe the rescaling of the node/branch data to line width values of the branches. All generated branch widths will be between the specified minimal branch width (which displays a node/branch data value of 0) and the specified maximal branch width (which displays the maximal value contained in the selected node/branch data column). This means that the branch widths are calculated in the following way:

BranchWidthi = MinBranchWidth + ((MaxBranchWidth - MinBranchWidth) / MaxNodeBranchData) * NodeBranchDataValuei

Set undefined nodes to minimal width

Furthermore you can define what shall happen to branches which have no according node/branch data in the selected data column. If you check the "Set undefined nodes to minimal width"-option all branches which have no node/branch data assigned will get the specified minimal branch width. Otherwise their current width will remain unchanged.

Example

The following example shows a tree that displays evolutionary rates by its line colors, branch widths and text labels. Of course you could also use this three ways to display different kinds of data in one tree. (You can download the TreeGraph 2 source file here.)

Ratogram.png

See also