fake_freq: fake haplotype frequencies

Description Usage Arguments Details Value Author(s) Examples

View source: R/make_dataset.R

Description

create a fake haplotype frequency dataset

Usage

1
fake_freq(nhaps = 100, nsnps = 10)

Arguments

nhaps

number of haplotypes

nsnps

number of snps

Details

no attempt is made at biological realism, this is purely for testing code

Value

data.frame of 1,2, nhaps x nsamples + frequency column

Author(s)

Chris Wallace

Examples

1
2
3
freq=fake_freq(nhaps=100,nsnps=5)
dim(freq)
head(freq)

simGWAS documentation built on Aug. 22, 2019, 9:03 a.m.