## All functions

Tools for analysing forensic genetic DNA databases

The exact distribution of the number of alleles in a m-person DNA mixture

Collapse m/p output to vector

Compare DNA profiles

Simulated database with 1,000 individuals

Expected value of cell counts in DNA database comparison

Simulate a DNA database

Covariance matrix of cell counts in DNA database comparison

Estimate the drop-out probability based on number of alleles

Simple allele frequency estimation

Generates DNA profiles of n individuals.

Generates DNA profiles of n unrelated individuals for a locus

Estimate theta and the fraction of comparisons between close relatives

Compute the posterior probabilities for P(m|n0) for a given prior P(m) and observed vector n0 of locus counts

Compute the posterior probabilities for $$\Pr(m|n_0)$$ for a given prior $$\Pr(m)$$.

Plots the fitted object function for estimated familial relationships in the database and theta.

Plots the summary matrix

Prints the results from optim.relatedness()

Prints the summary matrix

Simulate Allele Frequencies