Bayesian regression for phenotypic data