extractPC {GenomicSuperSignature} | R Documentation

## PCA on gene expression profile

### Description

Performs a principal components analysis on the given data matrix and returns the results as an object of class `prcomp`.

### Usage

    extractPC(x)

### Arguments

`x` | a numeric or complex matrix (or data frame) which provides the gene expression data for the principal components analysis. Genes in the rows and samples in the columns.

### Value

A `prcomp` object.

### See Also

`prcomp`

### Examples

    m = matrix(rnorm(100),ncol=5)
    extractPC(m)

[Package GenomicSuperSignature version 1.0.1 Index]