Sure, I don't have a worked example, other than a description.
Suppose I have this PGS:
SNP EffectAllele Effect
SNP1 A 0.34
SNP2 T 0.02
SNP3 C -0.98
SNP4 A 0.56
SNP5 G 0.06
And I have these genetic data (just showing example frequency table below), and suppose the B-allele is the 'coded' allele, in other words the dosages/probabilities are relative to the B-allele.
SNP A-allele B-allele B-alleleFreq
SNP1 A C 0.51
SNP2 T A 0.46
SNP3 T C 0.09
SNP4 T A 0.35
SNP5 T G 0.23
For SNP1, EffectAllele=A with Effect=0.34, but in my data SNP1 has A-allele=A, and B-allele=C. So my data is coded according to the B-allele. Is --score aware of this? So is it going to take the dosages of the non-coded allele in that case?
Thanks
Sander