simMixSNP: Simulates SNP mixtures

View source: R/simMixSNP.R

simMixSNPR Documentation

Simulates SNP mixtures

Description

Simulates SNP mixtures and outputs optionally file suitable for wrapdataL function for estimation of number of contributors

Usage

simMixSNP(nSNP , p , ncont, writeFile, outfile , id )

Arguments

nSNP

Integer number of SNPs>1

p

Minor allele frequency

ncont

Number of contributors >= 1

writeFile

If TRUE, output written to file

outfile

Name of output file

id

Column one of output file identifying run

Value

Returns a data frame with columns Id, marker, allele, frequency and height (=1 for now)

Author(s)

Thore Egeland <Thore.Egeland@medisin.uio.no>

Examples

## Not run: 
simMixSNP()

## End(Not run)

hindantation/forensim documentation built on Oct. 8, 2022, 4:42 a.m.