simMixSNP: Simulates SNP mixtures

Description Usage Arguments Value Author(s) Examples

View source: R/simMixSNP.R

Description

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

Usage

1
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

1


forensim documentation built on May 21, 2017, 3:39 a.m.
Search within the forensim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.