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

Description Usage Arguments Value Note Author(s) See Also

View source: R/apply.pca.R

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 [email protected] and Chris Barnes [email protected]

See Also

prcomp


CNVtools documentation built on May 2, 2018, 2:15 a.m.