Linking protein function to complex traits