create_families: create_families

View source: R/create_families.R

create_familiesR Documentation

create_families

Description

The function create segregant families from a population
It takes a cross, create_population or advance output object as input and creates lines of supplied replicates from every single individual in the last generation in the input object.

Usage

create_families(pop,S,id,chr_length,is_clone)

Arguments

pop

Required: a cross population

S

Required: Number of individuals within families

id

Required: the new population ID

chr_length

Required: a file contains lengths of chromosomes

is_clone

Optional: TRUE if the families are clones, default is FALSE

Value

A haplotype object of N individual with lowest phenotypic breeding value

Examples

pop3 = create_families(pop=pop1,S=15,id="pop3",chr_length=chr_length)

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