residualize {PCFAM} | R Documentation |
Residualization and scale of the original genotype data
Description
Thus function performs a simple residualization of a row-scaled genotype dataset, removing large-scale population stratification. Output is a residualized dataset appropriate for computing correlations such that family members can be easily identified. The function assumes X is row-scaled
Usage
residualize(X)
Arguments
X |
The original input genotype dataset |
Details
This function pre-treatment the data before applying the findfamily function.
Value
Outputs the new row-scaled genotype matrix after residualization
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]