dimension_reduction {UNDO} | R Documentation

## Dimension reduction function

### Description

When the number of input samples is larger than 2, this function is called to reduce the dimension to 2 by using PCA.

### Usage

    dimension_reduction(X)

### Arguments

`X` | gene expression data matrix

### Value

`X` |
`dimenMatrix` | the dimension reduction matrix used to recover the mixing matrix for all the samples

### Author(s)

Niya Wang (wangny@vt.edu)

### Examples

    X <- matrix(runif(5000),1000,5)
    dimenResult <- dimension_reduction(X)

[Package UNDO version 1.26.0 Index]