Overview#

The phylozoo.core.network.sdnetwork module provides classes and functions for working with semi-directed phylogenetic networks. Semi-directed networks have directed hybrid edges and undirected tree edges, allowing for flexible representation without requiring a fixed root. Note that unrooted phylogenetic trees are a special case of a semi-directed phylogenetic network.

All classes and functions on this page can be imported from the sdnetwork module:

from phylozoo.core.network.sdnetwork import *
# or directly
from phylozoo.core.network.sdnetwork import SemiDirectedPhyNetwork

Tip

For convenience, you can also use the alias phylozoo.core.sdnetwork instead of phylozoo.core.network.sdnetwork. Both import paths work identically.

Documentation#

See Also#