Which method can relate kegg pathway to taxonomy from metagenomics?

Spearman can relate Kegg and taxonomy based on their abundance tables. However, it is well known to generate spurious correlation.
Could you recommand better method?