genDataset: genDataset

Description Usage Arguments Details Value Author(s)

View source: R/genDataset.R

Description

genDataset samples a random mixture with Normal[+] peak heights.

Usage

1
genDataset(nC, popFreq, mu = 10000, sd = 1000)

Arguments

nC

Number of contributors in model.

popFreq

A list of allele frequencies for a given population.

mu

Expected peak heights for an allele of a contributor.

sd

Standard deviation of peak heights for an allele of a contributor.

Details

Simple function for generating a random peak height mixture distributed as normal positive truncated.

Value

List with elements trueMx,mixData,refData

Author(s)

Oyvind Bleka <Oyvind.Bleka.at.fhi.no>


mastermix documentation built on May 31, 2017, 3:22 a.m.