powered by
Computes the direct matching LR of each pair of samples, and merges the matching samples.
mergePM( pm, threshold = 10000, method = c("mostcomplete", "first", "combine"), verbose = TRUE )
A list with the following entries:
groups: A list containing the groups of matching samples.
groups
LRmat: A symmetric matrix (with 0s on the diagonal) containing the direct matching LR values.
LRmat
nonmissing: A named vector reporting the number of non-missing genotypes for each sample.
nonmissing
pmReduced: A list of singletons. If use is "best" or "first", this is a subset of the input pm.
pmReduced
use
pm
A list of typed singletons.
LR threshold for positive identification.
A keyword indicating how to merging matching samples. See Details.
A logical.
The available methods for merging matched samples are:
"mostcomplete": Use the sample with the highest number of non-missing genotypes
"first": Use the first in each group, according to the input order
"combine": Not implemented yet.
directMatch().
directMatch()
pm = singletons(c("V1", "V2", "V3")) |> addMarker(V1 = "1/1", V2 = "2/2", V3 = "1/1", afreq = c("1" = 0.01, "2" = 0.99), name = "L1") mergePM(pm)
Run the code above in your browser using DataLab