This vignette showcases two key features that capitalize on the network structure inherent in pedigrees: 1. Finding extended families with any connecting relationships between members. This feature strictly uses a person’s ID, mother’s ID, and father’s ID to find out which people in a dataset are remotely related by any path, effectively finding all separable extended families in a dataset. 2. Using path tracing rules to quantify the amount of relatedness between all pairs of individuals in a dataset. The amount of relatedness can be characterized by additive nuclear DNA, shared mitochondrial DNA, sharing both parents, or being part of the same extended pedigree.
Many pedigree datasets only contain information on the person, their mother, and their father, often without nuclear or extended family IDs. Recognizing which sets of people are unrelated simplifies many pedigree-related tasks. This function facilitates those tasks by finding all the extended families. People within the same extended family have at least some form of relation, however distant, while those in different extended families have no relations.
Hazard Pedigree
We will use the hazard
pedigree data as an example.
ds <- ped2fam(hazard, famID = "newFamID")
table(ds$FamID, ds$newFamID)
#>
#> 1 2
#> 1 18 0
#> 2 0 25
Because the hazard
data already had a family ID variable
we compare our newly created variable to the pre-existing one. They
match!