Coupling of Functional Gene Diversity and Geochemical Data from Environmental Samples