doPCA: Perform PCA based dimension reduction

Description Usage Arguments Details Value

Description

Perform PCA based dimension reduction

Usage

1
doPCA(object, genes = NULL, use.scaled = T, use.fast = T, ...)

Arguments

object

A sincera object

genes

The set of genes used for PCA

use.scaled

If TRUE, use the scaled expression for PCA.

use.fast

If TRUE, use gmodels::fast.prcomp(); otherwise, use stats::prcomp()

Details

When use.fast is TRUE, please refer to ?gmodels::fast.prcomp for more parameters to control the PCA When use.fast is FALSE, please refer to ?stats:prcomp for more parameters to control the PCA

Value

The update sincera object with PCA results in the pca slot


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.