phylox.cherrypicking.base.find_cherries_with_first
- phylox.cherrypicking.base.find_cherries_with_first(network, x)
Finds a set of cherries in the network N with leaf x as first element of the pair.
- Parameters:
network (phylox.DiNetwork) – The network to find cherries in.
x (str or int) – The leaf to find cherries with.
- Returns:
A set of cherries in the network with leaf x as first element of the pair.
- Return type:
set