powered by
Morphy object from single character
SingleCharMorphy(char, gap = "inapp")
State of each character at each tip in turn, in a format that will be converted to a character string by paste0(char, ';', collapse='').
paste0(char, ';', collapse='')
An unambiguous abbreviation of inapplicable, ambiguous (= missing), or extra state, specifying how gaps will be handled.
inapplicable
ambiguous
missing
extra state
A pointer to an object of class morphyObj. Don't forget to unload it when you've finished with it.
morphyObj
Score a tree: MorphyTreeLength()
MorphyTreeLength()
Other Morphy API functions: GapHandler(), MorphyErrorCheck(), MorphyWeights(), PhyDat2Morphy(), UnloadMorphy(), is.morphyPtr(), 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_gaphandl(), 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_set_parsim_t(), mpl_translate_error(), mpl_update_lower_root(), mpl_update_tip(), summary.morphyPtr()
GapHandler()
MorphyErrorCheck()
MorphyWeights()
PhyDat2Morphy()
UnloadMorphy()
is.morphyPtr()
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_gaphandl()
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_set_parsim_t()
mpl_translate_error()
mpl_update_lower_root()
mpl_update_tip()
summary.morphyPtr()
# NOT RUN { morphyObj <- SingleCharMorphy('-0-0', gap = 'Extra') RandomTreeScore(morphyObj) morphyObj <- UnloadMorphy(morphyObj) # }
Run the code above in your browser using DataLab