computePC: Perform principal components analysis on a correlation matrix
Description
This function calls the software GCTA to calculate the first 10 principal components from a correlation matrix (filename.grm.gz and filename.grm.id files are needed).
path to a file listing the subset of individuals to include in the principal components analysis (2 columns labeled: FID, IID)
gctaname
path to gcta executable
Value
References
Wheeler HE, et al. (2013) Poly-Omic Prediction of Complex Traits: OmicKriging. arXiv:1303.1788
http://arxiv.org/abs/1303.1788
Yang J, Lee S, Goddard M, Visscher P (2011) GCTA: a tool for genome-wide complex trait analysis. American Journal of Human Genetics 88: 76-82.
http://www.complextraitgenomics.com/software/gcta/