Usage
dbExpect(probs,theta=0,k=c(0,0,1),n=1,round=FALSE,na=TRUE,
vector=FALSE,collapse=FALSE,wildcard=FALSE)
Arguments
probs
List of vectors with allele probabilities for each locus
theta
The coancestery coefficient
k
The vector of identical-by-descent probabilities,
k=(k2,k1,k0), where for full-siblings k=c(1,2,1)/4. The default is
k=c(0,0,1) refering to unrelated individuals.
n
Number of DNA profiles in the database
round
Whether or not the results should be rounded or not
na
Whether or not the off-elements should be returned as 0 or NA
vector
Whether or not the result should be returned as a matrix
or vector. Note if 'collapse' is TRUE vector is ignored.
collapse
Logical (default FALSE). If TRUE the
(m,p)-matrix will be collapased into a (2*m+p)-vector containing the
total number of matching alleles.
wildcard
Should wildcards be used?