Description Usage Arguments Details Value
Create object of class mpcross
1 2 3 4 5 6 7 |
founders |
The genetic data for the founding lines of the population, represented as an integer matrix. |
finals |
The genetic data for the final lines of the population, represented as an integer matrix. |
pedigree |
An object of class |
hetData |
Information about how marker heterozygotes have been encoded. Can be an object of class |
fixCodingErrors |
Should we automatically fix data errors, by changing invalid values to missing? |
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.
An object of class mpcross
, constructed from the arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.