create_parent {simcross}R 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)

[Package simcross version 0.6 Index]