Learn R Programming

CNVtools (version 1.66.0)

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

Description

A simple wrapper around the R function prcomp.

Usage

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.

See Also

prcomp