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, PrD = 0, sorted = FALSE)

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.

PrD

Fixed Allele drop-out probability for each contributors.

sorted

Boolean for wheter sorting the contributors with respect to decreasingly mixture proportions.

Details

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

Value

List with elements Mx,mixData,refData

Author(s)

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


bayesdnamix documentation built on May 2, 2019, 6:51 p.m.