A list of length nHaplotpes or nOff * length(orig) of objects of class haplotype.
Arguments
orig
If unspecified, the function samples base population
haplotypes. If specified, the function requests a list
containing objects of class haplotype.
nHaplotypes
The requested number of haplotypes.
nMeioses
The number of offspring from each individual. For details
see below.
gg
If specified, the combinations of haplotypes in
individuals. Meiosis only occur within individuals. If not
specified, individuals are sampled as random combinations of haplotypes.
...
Additional arguments to be passed to function
SampleHaplotype, haploList and SampleBaseHaplotype.
Details
The function SampleHaplotypes creates individuals by randomly
combining haplotypes from the list. Meiosis events in individuals
create new haplotypes. Argument nOff sets the number of meiosis
events within each individual. Argument nHaplotypes has only
effect when sampling a base population. See
SampleBaseHaplotype for sampling base
haplotypes and for arguments of this function.