dh_geno: Produce doubled haploid (genotypic representation)

Description Usage Arguments Value Examples

View source: R/RcppExports.R View source: R/Meiosis.R

Description

Simulation of a doubled haploid.

Usage

1
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

1
2
data(exdat, package = 'Meiosis')
Meiosis::dh_geno(exdat$ind, exdat$positions, exdat$xoparam)

Meiosis documentation built on May 29, 2017, 3:46 p.m.