phylox.generators.lgt.base.compute_hash

phylox.generators.lgt.base.compute_hash(net)

Returns a dictionary, mapping each internal node to its blob, and each leaf to the blob directly adjacent to it.

Parameters:

net – a phylox DiNetwork

Returns:

a dictionary mapping each leaf to an internal blob.