self_geno: Produce selfing (genotypic representation)

Description Usage Arguments Value Examples

Description

Simulation of a selfing.

Usage

1
self_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::self_geno(exdat$ind, exdat$positions, exdat$xoparam)

DominikMueller64/Meiosis documentation built on May 6, 2019, 2:52 p.m.