Multivariate Genetic Analyses in Heterogeneous Populations