Performs a Migration birth move (Ewing et al. 2004). Adds a migration
node between a randomly selected ancestral node and its parent, allocating a
deme for the new edge consistent with the surrounding edges.
Usage
migration_birth(ED, n_deme, fix_leaf_deme = TRUE, node_indices)
Arguments
- ED
Extended data object; matrix with columns Node ID, parent, child 1, child 2, deme, node age
- n_deme
Number of distinct demes in the population
Value
Updated extended data object with the proposal from the migration birth move