Automated Bayesian model development for frequency detection in biological time series