| quickLR | R Documentation |
A thin wrapper around kinshipLR() for the common scenario of testing a pair
of individuals for paternity or sibship against being unrelated.
quickLR(x, ids = typedMembers(x), test = c("pat", "sib", "half", "cous"))
x |
A |
ids |
A vector of two typed members of |
test |
The hypotheses to be tested against unrelatedness. Allowed values are "pat" (= paternity), "sib" (= full siblings), "half" (= half siblings) and "cous" (= first cousins). By default, all are included. |
A (slightly simplified) LRresult object, as described in
kinshipLR().
# Simulate 100 markers for half siblings
x = halfSibPed() |> markerSim(N = 100, ids = 4:5, alleles = 1:3, seed = 1)
# Test for paternity, full sibs, half sibs, 1st cousins
quickLR(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.