| inbreedingLoops | R Documentation |
Returns a list of all inbreeding loops in the pedigree. Note that this may be large
(and slow) in heavily inbred pedigrees. For example, fullSibMating(10) has 8144
loops. For finding loop breakers and breaking loops, see findLoopBreakers() and
breakLoops(), which are much more efficient for large pedigrees, and do not require
enumerating all loops.
inbreedingLoops(x)
x |
A |
A list of inbreeding loops, where each loop is a list with entries
top, bottom, pathA and pathB. The top and bottom entries give
the IDs of the individuals at the top and bottom of the loop, while pathA
and pathB give the IDs of the individuals along the two paths from top to
bottom (excluding top and bottom themselves).
findLoopBreakers(), breakLoops()
x = cousinPed(1, child = TRUE)
loops = inbreedingLoops(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.