makeGameteSingleIndSingleChrom | R Documentation |
Make a gamete for a given chromosome by recombining two parental haplotypes.
makeGameteSingleIndSingleChrom(haplos.par.chr, loc.crossovers, start.haplo = 1)
haplos.par.chr |
matrix containing both haplotypes of a parent for a given chromosome (must have dimnames, such as "ind37_h1" in rows and "snp00265" in columns) |
loc.crossovers |
positions of the crossing overs in terms of SNP indices and not physical coordinates (the coordinate of the first nucleotide is assumed to be 1, and crossing-overs are assumed to occur right after the given positions) |
start.haplo |
identifier of the haplotype with which to start the gamete (1/2) |
vector
Timothee Flutre
makeGameteSingleInd
, drawLocCrossovers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.