LingPy

This documentation is for version 2.0.dev, which is not released yet.

lingpy.compare.borrowing.trebor.TreBor.get_MLN

TreBor.get_MLN(glm, threshold=1, verbose=False, colormap=None, degree=100)

Compute an Minimal Lateral Network for a given model.

Parameters :

glm : str

The dictionary key for the gain-loss-model.

threshold : int (default=1)

The threshold used to exclude edges.

verbose : bool (default=False)

Set to c{True} for verbose output.

colormap : {None matplotlib.cm}

A matplotlib.colormap instance. If set to c{None}, this defaults to jet.

degree : int (default=100)

The degree which is chosen for the projection of the tree layout.

This Page