Learn R Programming

Meiosis (version 1.0.2)

dh_geno: Produce doubled haploid (genotypic representation)

Description

Simulation of a doubled haploid.

Usage

dh_geno(individual, positions, xoparam, use_names = FALSE, check = FALSE)

Arguments

individual
List. Individual.
positions
List. Genetic positions.
xoparam
List. Crossover parameters.
use_names
Logical. Should loci names be preserved if present? Names in individual supersede the ones in positions.
check
Logical. Should checks be performed?

Value

List. A new individual.

Examples

Run this code
data(exdat, package = 'Meiosis')
Meiosis::dh_geno(exdat$ind, exdat$positions, exdat$xoparam)

Run the code above in your browser using DataLab