PLoS supp. material by Hermann Cuntz
Concatenates two trees intree2 onto intree1
at respective nodes inode2 and inode1
within the branching structure.
Sorts the indices topologically
(see “sort_tree” with option '-LO').
Fields are preferably taken from intree1,
all vectors (X, Y, Z, D etc...)
must exist in both trees if they exist in one tree
and are concatenated as well.
Region fields R and rnames are updated.
By default, intree2 is connected at its root
to the closest node of intree1.
Examples: Move the sample tree (see “tran_tree”) and concatenate it with itself
>> ttree = tran_tree (sample2_tree, [55 25 0]);
>> cattree = cat_tree (sample2_tree, ttree);
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License