Multivariate statistical analysis of protein variation