generate_hybrid_matrix: Simulation tools

Description Usage Arguments

Description

generate_hybrid_matrix generates hybrid individuals using the recombination map and ancestral haplotypes.

Usage

1
2
3
generate_hybrid_matrix(refpop1_integer, refpop2_integer, refpop1, refpop2,
  alpha = 0.5, beta = 1 - alpha, gen_map, n.hyb, lambda = 1,
  ancestry.switch = NULL)

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.

gen_map

a numerical vector.

n.hyb

an integer.

lambda

a numerical value.

ancestry.switch

a numerical vector.

jumps

a numerical vector.


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