Inferring the functional effects of mutation through clusters of mutations in homologous proteins