View source: R/randomProfilePairs.R
randomProfilePairs | R Documentation |
Generates one or more random DNA profile pairs from a given set of allele frequencies.
randomProfilePairs(Freqs, BlockSize = 1)
Freqs |
A list containing two lists labelled loci and freqs. The second list is a list of vectors containing the allele frequencies of each allele at each locus in the multiplex. |
BlockSize |
The number of pairs of profiles to generate |
The alleles are simply integers rather than the STR repeat numbers. This speeds up computation immensely when calculating any of the LRs or IBS.
A list of length BlockSize
. Each element of the list has a
sublist containing two profiles called prof1
and prof2
James M. Curran
randomPCPairs, randomSibPairs
data(fbiCaucs)
P = randomProfilePairs(fbiCaucs)
P$prof1
P$prof2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.