Learn R Programming

Meiosis (version 1.0.2)

cross_geno: Cross individuals (genotypic representation)

Description

Simulation of a cross.

Usage

cross_geno(father, mother, positions, xoparam, use_names = FALSE,
  check = FALSE)

Arguments

father
List. Father.
mother
List. Mother.
positions
List. Genetic positions.
xoparam
List. Crossover parameters.
use_names
Logical. Should loci names be preserved if present? Names in father supersede the ones in mother, followed by positions.
check
Logical. Should checks be performed?

Value

List. A new individual.

Examples

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

Run the code above in your browser using DataLab