make_dh_pop: make_dh_pop —————- Creates a Pop object of doubled...

View source: R/make_dh.R

make_dh_popR Documentation

make_dh_pop ———————————————————————— Creates a Pop object of doubled haploid (DH) lines randomly selected from input Pop. For subset of individuals, randomly selects one of the two chromosome pairs to double

Description

make_dh_pop ———————————————————————— Creates a Pop object of doubled haploid (DH) lines randomly selected from input Pop. For subset of individuals, randomly selects one of the two chromosome pairs to double

Usage

make_dh_pop(start_pop, n = NULL, c = 10, g_map)

Arguments

start_pop

A Pop object

n

The number of DH lines. Default is all of start_pop

c

Chromosome number (default is 10)

g_map

The genetic map

Value

A Pop object of n individuals that are completely homozygous


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