Create object of class mpcross
mpcross(
founders,
finals,
pedigree,
hetData = infiniteSelfing,
fixCodingErrors = FALSE
)The genetic data for the founding lines of the population, represented as an integer matrix.
The genetic data for the final lines of the population, represented as an integer matrix.
An object of class pedigree
Information about how marker heterozygotes have been encoded. Can be an object of class hetData, or a function generating such an object from the previous three inputs.
Should we automatically fix data errors, by changing invalid values to missing?
An object of class mpcross, constructed from the arguments.
This function constructs an object of class mpcross representing a multi-parent population. It takes in genetic data about the founding lines and final population line, a pedigree, and information about how marker heterozygotes have been encoded.
Parameter founders is the genetic data about the founding lines of the population. It must be an integer matrix, with rows representing genetic lines, and columns representing genetic markers. Parameter finals is a similar matrix, representing data for the final genetic lines in the population.
Parameter pedigree stores information about how the final lines in the population were generated from the founding lines.
Parameter hetDat must be an object of class hetData containing information about how marker heterozygotes have been encoded, OR a function which generates such an object. The function must take as arguments founders, finals and pedigree. See infiniteSelfing for an example of such a function.