dimension_reduction {UNDO} | R Documentation |
When the number of input samples is larger than 2, this function is called to reduce the dimension to 2 by using PCA.
dimension_reduction(X)
X |
gene expression data matrix |
X |
|
dimenMatrix |
the dimension reduction matrix used to recover the mixing matrix for all the samples |
Niya Wang (wangny@vt.edu)
X <- matrix(runif(5000),1000,5) dimenResult <- dimension_reduction(X)