Description Usage Arguments Details Value Author(s)
View source: R/contLikStutter.R
contLikStutter evaluates the marginal likelihood of the STR DNA mixture given some assumed a bayesian model by integrate out parameters.
1 2 3 4 |
nC |
Number of contributors in model. |
mixData |
Evidence object with list elements adata[[i]] and hdata[[i]]. Each element has a loci-list with list-element 'i' storing qualitative data in 'adata' and quantitative data in 'hdata'. |
popFreq |
A list of allele frequencies for a given population. |
refData |
Reference objects with list element [[s]]$adata[[i]]. The list element has reference-list with list-element 's' having a loci-list adata with list-element 'i storing qualitative data. |
condOrder |
Specify conditioning references from refData (must be consistent order). For instance condOrder=(0,2,1,0) means that we restrict the model such that Ref2 and Ref3 are respectively conditioned as 2. contributor and 1. contributor in the model. condOrder=-1 means the reference is known-non contributor! |
xi |
A numeric giving stutter-ratio if it is known. Default is NULL, meaning it is integrated out. |
prC |
A numeric for allele drop-in probability. Default is 0. |
model |
A integer for specification of model. See details for more information. |
pTau |
Prior function for tau-parameter. Flat prior is default. |
taumax |
Maximum range of tau-parameter. Default is 1000. |
maxeval |
Maxumum number of evaluations in the interale function. Default is 5000. |
threshT |
The detection threshold given. Used when considering probability of allele drop-outs. |
fst |
is the coancestry coeffecient. Default is 0. |
lambda |
Parameter in modeled peak height shifted exponential model. Default is 0. |
pXi |
Prior function for xi-parameter (stutter). Flat prior on [0,1] is default. |
The procedure are doing numerical integration to approximate the marginal probability by integrate over noisance parameters. Mixture proportions have flat prior.
The user may specify probability of drop-out for each contributors.
Model 1 is gaussian model: yj~N(sum(y)/2*nj*m,sum(y)*tau). Inspired by Tvedebrink. Model 2 is gamma model: yj~N(sum(y)/(2*tau)*nj*m,tau). Inspired by Cowell.
Function calls procedure in c++ by using the package Armadillo and Boost.
lik Marginalized likelihood of the hypothesis (model) given observed evidence.
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.