simNpersonMixture {relSim} | R Documentation |
Simulate and count unique alleles in N person mixtures
Description
This function simulates N persons mixtures using the supplied frequencies and records the number of times they share 1, 2, ..., 2N alleles locus by locus.
Usage
simNpersonMixture(freqs, numContributors, numIterations = 10000)
Arguments
freqs |
a set of allele frequencies. The format can be found in |
numContributors |
the number of contributors to each mixture. Must be >= 2. |
numIterations |
the number of N person mixtures to simulate in total. |
Value
an object of class npmresult
[Package relSim version 1.0.0 Index]