apply.pca {CNVtools} | R Documentation |
A simple wrapper around the R function prcomp.
apply.pca(matrix.signal)
matrix.signal |
A matrix containing the raw calls. The rows are the samples and the columns are the SNPs. |
A one dimensional vector, one value per sample: this is the first principal component.
The output vector is normalized to have a standard deviation of 1.
Vincent Plagnol vincent.plagnol@cimr.cam.ac.uk and Chris Barnes christopher.barnes@imperial.ac.uk
prcomp