sim_haploidFormation: Simulate recombination among chromatids.

Description Usage Arguments Details Value References See Also

View source: R/sim_gameteFunctions.R

Description

Simulate recombination among a bundle of four chromatids. This function will likely become an internal function.

Usage

1
sim_haploidFormation(num_chiasmata, allele_IDs)

Arguments

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)

Details

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)

Value

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.

References

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

See Also

sim_chiasmataPositions


SimRVSequences documentation built on July 1, 2020, 6:03 p.m.