ropensci / beautier

R package to generate the same BEAST2 XML parameter files as generated by BEAUti 2
https://docs.ropensci.org/beautier
GNU General Public License v3.0
13 stars 2 forks source link

kappa in HKY site model must be a param #136

Closed richelbilderbeek closed 1 year ago

richelbilderbeek commented 1 year ago

Currently, it is a string:

create_hky_site_model <- create_site_model_hky <- function(
  id = NA,
  kappa = "2.0",
  gamma_site_model = create_gamma_site_model(),
  kappa_prior_distr = create_log_normal_distr(
    m = create_m_param(value = "1.0"),
    s = 1.25
  ),
  freq_equilibrium = "estimated"
)

This is a prereq for #135