fastcov {PCFAM} | R Documentation |
This function can generate covariance matrix faster than the regular cov() function.
fastcov(X)
X |
input mxn data matrix |
Output nxn covariance matrix
The input data matrix has to be column scaled in advance.
Yi-Hui Zhou,
Computation of ancestry scores with mixed families and unrelated individuals. arXiv:1606.08416.