Navigation Banner
 

Tree Batch language command
  Tree construction command.
Syntax  Tree treeid = tree string;
Notes Tree string is a in a parenthetical form (Newick format), with the following extensions:
- internal nodes can be named by placing the name after ')' which closes the block of children of the internal node.
- each node may have its own model matrix. To attach a matrix to a node place '{matrix name}' after the name of the node.

By default, each node will be associated with the last defined matrix.

If tree string is set to 'PROMPT_FOR_STRING', the user will be prompted to enter the string.

Node names must be alphanumeric ('_' is allowed).
Rooted trees will be automatically 'unrooted'.
One branch trees are allowed.

Examples
Tree tr = ((1,2),3,4);

Tree tr = ((1{M},2{M})Internal{M},3,(4,5));

 Last modified: 8/19/2002

 
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002