offspring: Generate offspring from a cross between two parents

View source: R/offspring.R

offspringR Documentation

Generate offspring from a cross between two parents

Description

Generate offspring from a cross between two parents

Usage

offspring(p1, p2, chroms, g_map)

Arguments

p1

The first parents to cross. An Indv object created by indv_init()

p2

The second parent to cross. An Indv object created by indv_init()

chroms

The number of chromosomes

g_map

The genetic map

Value

A chromosome object that is the combination of two the two parents with potential crossing over


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