findfamilies {PCFAM} | R Documentation |
This function searches for pairs of individuals with high kinship based on the genotype correlation matrix.
findfamilies(x, threshold = 0.4)
x |
The nxn correlation matrix of the input dataset. |
threshold |
This threshold is used to identify close-degree relatives. Recommended values are 0.4 to identify first-degree relatives, and 0.15 to identify first- and second-degree relatives. |
Output numerical family ID for each individual. Individuals with the same ID are judged to be family members.
Yi-Hui Zhou
Computation of ancestry scores with mixed families and unrelated individuals. arXiv:1606.08416.