dimension_reduction: Dimension reduction function

Description Usage Arguments Value Author(s) Examples

View source: R/dimension_reduction.R

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

1

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

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

UNDO documentation built on Nov. 8, 2020, 7:53 p.m.