FormatGenotypes {Geneland} | R Documentation |
Takes genotype data as a matrix with one line per individual and two columns per locus, with alleles coded by integers (number of replications for micro-satellites data). Build a new matrix with alleles acodes as consecutive integer. If allele j has 7 alleles they will be coded as 1,2,...7.
FormatGenotypes(genotypes)
genotypes |
A matrix with one line per individual and two columns per locus, with alleles coded by integers |
A matrix with one line per individual and two columns per locus, with alleles coded by integers
Gilles Guillot