Comparing function and structure between entire proteomes