fixedNumberOfFounderAlleles: Convert fully informative experiment to one with a fixed number of alleles per marker
Description
Convert a fully informative experiment to one with a fixed number of alleles per marker
Usage
fixedNumberOfFounderAlleles(alleles)
Arguments
alleles
Number of alleles for each marker
Value
An object of internal class fixedNumberOfFounderAlleles suitable for application to an object of class mpcross using the addition operation.
Details
By default, simulated data is fully informative, so every founder carries its own allele, and all heterozygotes are distinguishable.
This function takes in a fully informative experiment, and changes every marker so that it has a fixed number of founder alleles. Heterozygotes are also changed, so every combination of different alleles is still distinguishable.