Description Usage Arguments Value Note Author(s) See Also
A simple wrapper around the R function prcomp.
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.