LingPy

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

lingpy.compare.borrowing.trebor.TreBor.analyze

TreBor.analyze(runs='default', mixed=False, verbose=False, output_gml=False, tar=False, usetex=False, full_analysis=True, plot_dists=False, output_plot=False, plot_mln=False, plot_msn=False, **keywords)

Carry out a full analysis using various parameters.

Parameters :

runs : {str list} (default=”default”)

Define a couple of different models to be analyzed. Select between:

  • ‘default’: weighted analysis, using parsimony and weights for gains and losses
  • ‘topdown’: use the traditional approach by Nelson-Sathi2011
  • ‘restriction’: use the restriction approach

You can also define your own mix of models.

verbose : bool (default = False)

If set to c{True}, be verbose when carrying out the analysis.

usetex : bool (default=True)

Specify whether you want to use LaTeX to render plots.

mixed : bool (default=False)

If set to c{True}, calculate a mixed model by selecting the best model for each item separately.

verbose : bool (default=False)

Set to c{True} for verbose output.

output_gml : bool (default=False)

Set to c{True} in order to output every gain-loss-scenario in GML-format.

full_analysis : bool (default=True)

Specifies whether a full analysis is carried out or not.

plot_mln : bool (default=True)

Select or unselect output plot for the MLN.

plot_msn : bool (default=False)

Select or unselect output plot for the MSN.

This Page