Get the number of distributions a site model has
Source:R/get_site_model_n_distrs.R
get_site_model_n_distrs.Rd
Get the number of distributions a site model has
Arguments
- site_model
a site model, as returned by
create_site_model
Examples
check_empty_beautier_folder()
# 5: rates AC, AG, AT, CG and GT
get_site_model_n_distrs(create_gtr_site_model())
#> [1] 5
# 1: kappa
get_site_model_n_distrs(create_hky_site_model())
#> [1] 1
# 0: npne
get_site_model_n_distrs(create_jc69_site_model())
#> [1] 0
# 2: kappa 1 and kappa 2
get_site_model_n_distrs(create_tn93_site_model())
#> [1] 2
check_empty_beautier_folder()