advance: advance

View source: R/advance.R

advanceR Documentation

advance

Description

The function create advanced generations from a cross population.
It accept a cross object prcess it based on the customized conditions and experimental design to a certain number of generations supplied by the user,
and exports haplotype object.

Usage

advance(pop,F,outcross,level,clevel,id,CHR)

Arguments

pop

Required: a cross population

F

Required: Number of F generations

id

Required: the new population ID

outcross

Required: outcross level within the crop

level

Required: the level of cross

clevel

Required: the level of outcrosses

CHR

Required: a two-column data frame of chromosomes' IDs and length

Value

A haplotype object (population)

Examples

pop2 = advance(pop=pop1,F=5,outcross=0.1,level=0,clevel=0,id="pop2",CHR="chr_len.txt")

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.