makeCross | R Documentation |
Make a cross. If two different genotypes are given, then a fecundation is made with one gamete from each genotype. If the same genotype is given twice, an autofecondation is made with two different gametes from this genotype. If a single genotype is given, a haplodiploidization is made with a single gamete from this genotype.
makeCross(
haplos.par1,
loc.crossovers.par1,
haplos.par2 = NULL,
loc.crossovers.par2 = NULL,
child.name = NULL,
howto.start.haplo = 0,
verbose = 1
)
haplos.par1 |
list of matrices (one per chromosome) for the first parent |
loc.crossovers.par1 |
list of vectors (one per chromosome) for the first parent |
haplos.par2 |
list of matrices (one per chromosome) for the second parent |
loc.crossovers.par2 |
list of vectors (one per chromosome) for the second parent |
child.name |
identifier of the child (if NULL, <parent1>"-x-"<parent2> or <parent1>"-hd") |
howto.start.haplo |
if 0, haplotypes with which to start the gametes will be chosen at random; but one can also specify 1 (always the first haplotype) or 2 (always the second haplotype) |
verbose |
verbosity level (0/1) |
list of matrices (one per chromosome) for the child
Timothee Flutre
makeCrosses
, drawLocCrossovers
, makeGameteSingleInd
, fecundation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.