Generate a list of encoding errors from genetic data
listCodingErrors(founders, finals, hetData)Genetic data for the founding lines of the population
Genetic data for the final lines of the population
Data about the encoding of marker heterozygotes
List with the following entries:
Markers with an invalid observed value.
Markers with a missing value for a founding line, for which the are observations for at least one genetic line.
Markers for which a homozygote did not have an encoding.
Markers for which the heterozygote encoding data was invalid.
Given genetic data matrices for the founding lines and the final lines of a population, and information about the encoding of marker heterozygotes, generate a list of errors. These errors include observed values which don't correspond to a known combination of marker alleles, missing values in the genetic data for the founding lines, etc.
The results of this function allow human-readable lists of errors to be generated, or errors to be automatically fixed (if the errors are sufficiently simple).