fake_haplo: Build fake haplotypes

Description Usage Arguments Value Author(s) Examples

View source: R/fake_haplo.R

Description

Build fake haplotypes based on given number of markers and number of haplotypes

Usage

1
fake_haplo(n = NULL, m = NULL, seed = NULL)

Arguments

n

number of haplotypes (integer).

m

number of markers (integer).

seed

seed to be used in the sampling

Value

Matrix with the Relationship between the individuals.

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com

Examples

1
haps <- fake_haplo(n=10,m=100,seed=12345)

rramadeu/diaQTLSimulations documentation built on Feb. 11, 2022, 1:34 a.m.