A Unifying Model for the Analysis of Phenotypic, Genetic, and Geographic Data