D
Function for setting the tables on all nodes D_r_a
for
mixture r
in the network corresponding to one marker, using
peak heights and a set of parameters.
IMPORTANT: This is the DNAmixturesLite package, which is intended as a service to enable users to try DNAmixtures without purchasing a commercial licence for Hugin. When at all possible, we strongly recommend the use of DNAmixtures rather than this lite-version. See https://dnamixtures.r-forge.r-project.org/ for details on both packages.
While the lite-version seeks to provide the full functionality of DNAmixtures, note that computations are much less efficient and that there are some differences in available functionality. Be aware that the present documentation is copied from DNAmixtures and thus may not accurately describe the implementation of this lite-version.
setCPT.D(
domain,
rho,
xi,
eta,
phi,
C,
n.unknown,
n_K,
D,
gets_stutter,
can_stutter,
stutter.from
)
invisibly NULL
A hugin.domain
modelling one marker
rho
xi
eta
phi
Detection threshold
Number of unknown contributors
Allelecounts for known contributors
Names for binary nodes
Does the allele receive stutter?
Can the allele stutter?
From which allele does the stutter come?
The function sets conditional probabilities for auxiliary variables D_r_a
,
which are used for obtaining probabilities of a peak
falling above resp. below the detection threshold under the current
model.
The conditional probability tables are defined using the gamma c.d.f. as
$$P(\texttt{D[a]} = \texttt{TRUE} | n_{ia}, n_{i,a+1}, i = 1,\ldots, k) = G(\texttt{C}).
$$
For further details see setCPT.O
.