get_gametes: Generates a gamete randomly from one of the two chromosomes,...

View source: R/get_gametes.R

get_gametesR Documentation

Generates a gamete randomly from one of the two chromosomes, with 50 percent chance of crossing over

Description

Generates a gamete randomly from one of the two chromosomes, with 50 percent chance of crossing over

Usage

get_gametes(parent, recomb, c)

Arguments

parent

ChromPair object in format created from chrom_init

recomb

dataframe of genetic and physical map for chrom c

c

Chromosome number

Value

One chromosome object


sarahodell/magicsim documentation built on Sept. 25, 2023, 8:12 a.m.