Use of genetic technologies to compare medicines