Each element of the coding vector is the index of the corresponding genotype in the GenABEL:::alleleID.codes() array.
The genotypes are ordered so the allele with the greater frequency appears first.
Usage
Mega2GenABELcoding(markers = NULL, Freq.x, envir)
Arguments
markers
data frame of markers to be processed
Freq.x
frequency of first allele calculated from actual data. The Mega2 internal frequencies may be
a bit stale. This value is one of two returned by the *Mega2GenABELconvert()* function.
envir
'environment' containing SQLite database and other globals