findfamilies {PCFAM} | R Documentation |
Find families
Description
This function searches for pairs of individuals with high kinship based on the genotype correlation matrix.
Usage
findfamilies(x, threshold = 0.4)
Arguments
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. |
Value
Output numerical family ID for each individual. Individuals with the same ID are judged to be family members.
Author(s)
Yi-Hui Zhou
References
Computation of ancestry scores with mixed families and unrelated individuals. arXiv:1606.08416.
[Package PCFAM version 1.0 Index]