phylox.generators.lgt.base.speciate

phylox.generators.lgt.base.speciate(net, leaf)

Add a new leaf to the network by a ‘speciation event’ at leaf leaf of the network. This is done by adding two outgoing edges to the leaf node.

Parameters:
  • net – a phylox DiNetwork

  • leaf – leaf of the network net

Returns:

None