Description Usage Arguments Details Value Author(s)
Function for generating replicated mixture samples given same contributors and model parameters.
| 1 2 3 | genDataset(nC, popFreq, mu = 1000, sigma = 0.1, sorted = FALSE,
  threshT = 50, refData = NULL, mx = NULL, nrep = 1, stutt = 0,
  prC = 0, lambda = 0)
 | 
| 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. | 
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.