TreeSearch (version 0.4.0)

mpl_set_parsim_t: Sets a character's parsimony function type

Description

Set the parsimony function type to one defined in the morphydefs.h header file. Setting the character to type NONE_T will also cause it to be excluded from any further calculations.

Usage

mpl_set_parsim_t(char_id, tname = "typename", morphyobj)

Arguments

char_id

The number of the character (transformation series) as defined in the input matrix. The first character is numbered 1 (one).

tname

The parsimony function type as defined in morphydefs.h

morphyobj

An instance of the Morphy object.

Value

A Morphy error code.

See Also

Other Morphy API functions: MorphyErrorCheck, MorphyWeights, PhyDat2Morphy, SetMorphyWeights, SingleCharMorphy, UnloadMorphy, mpl_apply_tipdata, mpl_attach_rawdata, mpl_attach_symbols, mpl_delete_Morphy, mpl_delete_rawdata, mpl_first_down_recon, mpl_first_up_recon, mpl_get_charac_weight, mpl_get_num_charac, mpl_get_num_internal_nodes, mpl_get_numtaxa, mpl_get_symbols, mpl_init_Morphy, mpl_new_Morphy, mpl_second_down_recon, mpl_second_up_recon, mpl_set_charac_weight, mpl_set_num_internal_nodes, mpl_translate_error, mpl_update_lower_root, mpl_update_tip, summary.morphyPtr