apply.pca {CNVtools} | R Documentation

## 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.

### 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

[Package CNVtools version 1.74.0 Index]