internal function for makeplink
score2alleles(snp, G, alleles)
Arguments
snp |
column index of snp in genotype matrix |
G |
genotype matrix (SNPs in columns, individuals in rows) |
alleles |
data,frame of two columns where each row gives the alleles for each SNP in G |