View source: R/processExtras.R
processExtras | R Documentation |
Resolves layout conflicts when the same individual appears in multiple places (e.g., due to inbreeding loops). Keeps the layout point that is closest to a relevant relative (mom, dad, or spouse) and removes links to others to avoid confusion in visualization.
processExtras(ped, config = list())
ped |
A data.frame containing pedigree layout info with columns including: 'personID', 'x_pos', 'y_pos', 'dadID', 'momID', and a logical column 'extra'. |
config |
A list of configuration options. Currently unused but passed through to internal helpers. |
A modified 'ped' data.frame with updated coordinates and removed duplicates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.