Description Usage Arguments Details Value Author(s)
Function for generating replicated mixture samples given same contributors and model parameters.
1 2 3 |
nC |
Number of contributors in model. |
popFreq |
A list of allele frequencies for a given population. |
mu |
Expected peak heights for a het. single contributor allele |
sigma |
Coeffecient of variance of peak heights. |
sorted |
Boolean for wheter sorting the contributors with respect to decreasingly mixture proportions. |
threshT |
Required allele peak height in mixture |
refData |
A list of given reference profiles given as refData[[i]][[s]]. Default is random from population. |
mx |
A vector of known mixture proportions. Default is random uniform. |
nrep |
Number of peak height replicates (same contributors) to generate. Default is 1. |
stutt |
A numerical stutter ratio (one ahead). Default is 0. |
prC |
A numerical dropin probability. Default is 0. |
lambda |
The rate parameter in the exponential distribution for simulating drop-in peak heights. Default is 0. |
beta |
The degradation slope parameter used for simulating degradation trend (requires valid kit to be specified). Default is 1. |
kit |
shortname of kit: "ESX17","ESI17","ESI17Fast","ESX17Fast","Y23","Identifiler","NGM","ESSPlex","ESSplexSE","NGMSElect","SGMPlus","ESX16", "Fusion","GlobalFiler" |
genDataset samples random mixture peak heights given as gamma(rho*sum(h_k),tau), with h_k as peak height of k-te contributor. genData conditions on alleles given by refData. Empty references are generated with population frequencies.
List with elements theta,samples,refData where theta is the true parameters of the model. samples is a list with samples which for each samples has locus-list elements with list elements adata and hdata
Oyvind Bleka <Oyvind.Bleka.at.fhi.no>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.