Alters the morphology!

Reconnects within tree intree a set of sub-trees, given by node indices ichilds to new respective parent nodes defined by indices ipars.

By default the sub-trees are moved directly to their new parent nodes (option -h). Without options this can be avoided (see below).

Example:

>> recon_tree (sample2_tree, [12 7], [15 9])

TREES

>> recon_tree (sample2_tree, [12 7], [15 9], 'none')

TREES

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License