create_haplotypes_from_scheme: create_haplotypes_from_scheme

View source: R/create_haplotypes_from_scheme.R

create_haplotypes_from_schemeR Documentation

create_haplotypes_from_scheme

Description

The function simulates haplotypes from a scheme
It produces a haplotype object following the individuals and generations of a scheme file.

Usage

create_haplotypes_from_scheme(scheme,chr_length,pop)

Arguments

scheme

Required: an input scheme

chr_length

Required: a chr_length file

pop

Optional: an input population

Value

haplotypes

Examples

haplotype2 = create_haplotypes_from_scheme(scheme,"chr_length.txt",pop2)

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