Description Usage Arguments Details Value References See Also
View source: R/sim_gameteFunctions.R
Simulate recombination among a bundle of four chromatids. This function will likely become an internal function.
1 | sim_haploidFormation(num_chiasmata, allele_IDs)
|
num_chiasmata |
Numeric. The number of chiasmata simulated among the chromatid bundle. |
allele_IDs |
List of length 2. The identification numbers for the respective paternal and maternal alleles of the individual for whom we wish to simulate recombination. (Can accomodate numeric or string entries) |
Given the possible chiasmata positions returned from sim_chiasmataPostions
, we randomly select two non-sister chromatids to participate in each recombination event. We assume no chromatid interference so that the non-sister chromatids participating in a crossover event are independent of those chosen in previous crossover events.
After simulating recombination among the bundle, we simulate meiosis I and II, by assigning a group identifier to each hapliod: refercence (Thompson 2000)
(Meiosis I: Single Cell to Two Cells) After recombination we assign bivalents to one of the two daughter cells with equal probability. Remember recombination has already occurred, so we identify sister chromatids by the their centromeres (location specified by user). This process is occurs independently for different chromosomes.
(Meiosis II: Each cell from meiosis I splits into two gametes) Each pair of homologous chromosomes are separated into two gametes with equal probability and independently from the assortment of non-homologous chromosome.
haploid_mat. A matrix with rows representing recombined haplotypes along with an identifier that defines which group each haploid will be associated with after meiosis II.
Thompson, E. (2000). Statistical Inference from Genetic Data on Pedigrees. NSF-CBMS Regional Conference Series in Probability and Statistics, 6, I-169. Retrieved from http://www.jstor.org.proxy.lib.sfu.ca/stable/4153187
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.