Skip to contents

Allows the caller to specify a list of symbols in the data matrix, otherwise, the symbols list used by Morphy will be extracted from the matrix. The symbols list must match the symbols provided in the matrix. When Morphy extracts symbols from the matrix, their ordering is alphanumeric, according to their ASCII codes (i.e. "+0123...ABCD...abcd..."). Loading a user-specified symbols list will override this ordering. Symbols loaded in either the list or the matrix must be valid Morphy character state symbols as defined in the statedata.h header file. The list must end with a semicolon.

Usage

mpl_attach_symbols(symbols, morphyobj)

Arguments

symbols

A C-style (i.e. NULL-terminated) string of valid state symbols.

morphyobj

An instance of the Morphy object.

Value

Morphy error code.

Author

Martin Brazeau