apply.pca: Applies to the data a principal component analysis

Description Usage Arguments Value Note Author(s) See Also

Description

A simple wrapper around the R function prcomp.

Usage

1
apply.pca(matrix.signal)

Arguments

matrix.signal

A matrix containing the raw calls. The rows are the samples and the columns are the SNPs.

Value

A one dimensional vector, one value per sample: this is the first principal component.

Note

The output vector is normalized to have a standard deviation of 1.

Author(s)

Vincent Plagnol vincent.plagnol@cimr.cam.ac.uk and Chris Barnes christopher.barnes@imperial.ac.uk

See Also

prcomp


CNVtools documentation built on April 28, 2020, 6:06 p.m.