Empirical bayes modelling of expression profiles and their associations