create_parent: Create a parent object

View source: R/sim_meiosis.R

create_parentR Documentation

Create a parent object

Description

Create a parent object

Usage

create_parent(L, allele = 1)

Arguments

L

chromosome length in cM

allele

vector of integers for alleles, of length 1 or 2

Value

A list with two components, for the individual's two chromosomes. Each is a list with alleles in chromosome intervals (as integers) and locations of the right endpoints of those intervals.

See Also

cross(), sim_meiosis()

Examples

create_parent(100, 1)
create_parent(100, 1:2)

simcross documentation built on May 29, 2024, 2:41 a.m.