generate_one_hybrid: Simulation tools

Description Usage Arguments

Description

generate_hybrid generates one hybrid individual using the recombination map and ancestral haplotypes.

Usage

1
2
generate_one_hybrid(refpop1_integer, refpop2_integer, refpop1, refpop2, alpha,
  beta = 1 - alpha, jumps, ancestry.switch)

Arguments

refpop1_integer

a haplotype matrix.

refpop2_integer

a haplotype matrix.

refpop1

a haplotype matrix.

refpop2

a haplotype matrix.

alpha

a numerical value.

beta

a numerical value.

jumps

a numerical vector.

ancestry.switch

a numerical vector.


keurcien/simulate documentation built on May 20, 2019, 3:32 p.m.