Flexible hierarchical Bayesian modeling extensions to improve whole genome prediction and genome wide association analyses