View source: R/kinship2_alignped3.R
| kinship2_alignped3 | R Documentation |
This is an internal helper function for pedigree alignment. It takes two previously aligned pedigree structures (x1 and x2) and merges them side-by-side, handling overlapping subjects and adjusting positions appropriately.
kinship2_alignped3(x1, x2, packed, space = 1)
x1 |
First aligned pedigree structure (list) |
x2 |
Second aligned pedigree structure (list) |
packed |
Logical, if TRUE uses compact packing; if FALSE adds spacing |
space |
Numeric, horizontal spacing between structures when packed=FALSE (default 1) |
A list containing the merged pedigree structure:
n |
Vector of counts per level |
nid |
Matrix of subject IDs at each level and position |
pos |
Matrix of horizontal positions |
fam |
Matrix of family indices |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.