makeGameteSingleInd | R Documentation |
Make a gamete for all chromosomes by recombining two parental haplotypes.
makeGameteSingleInd(
haplos.par,
loc.crossovers,
start.haplos = as.list(rep(1, length(haplos.par)))
)
haplos.par |
list of matrices containing both haplotypes of a parent for each chromosome |
loc.crossovers |
list of vectors with positions of the crossing overs (the coordinate of the first nucleotide is assumed to be 1, and crossing-overs are assumed to occur right after the given positions) |
start.haplos |
list of identifiers (1/2) of the haplotype with which to start the gamete for each chromosome (if NULL, will be sampled) |
list of vectors (one per chromosome)
Timothee Flutre
makeCross
, fecundation
, makeGameteSingleIndSingleChrom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.