simulate_haplotypes: Simulate haplotypes of two loci

simulate_haplotypesR Documentation

Simulate haplotypes of two loci

Description

Simulate haplotypes of two loci

Usage

simulate_haplotypes(nid, r, p1, p2)

Arguments

nid

Number of samples

r

Desired LD r

p1

Freq 1

p2

Freq 2

Value

Matrix


explodecomputer/simulateGP documentation built on Feb. 17, 2024, 10:43 a.m.