joshwlambert / DAISIEprep

Extracts phylogenetic island community data from phylogenetic trees
https://joshwlambert.github.io/DAISIEprep
GNU General Public License v3.0
6 stars 3 forks source link

Enable more ASR options from {castor} #32

Closed joshwlambert closed 6 months ago

joshwlambert commented 6 months ago

Currently add_asr_node_states() only allows "parsimony" or "mk" as options to call either castor::asr_max_parsimony() or castor::asr_mk_model(), respectively. Adding a rate_model argument to add_asr_node_states() will allow more MK models to be selecting rather than fixing to the default equal-rates models.