do_PCA: Principal Component Analysis via Singular Value Decomposition

Description Usage Arguments Value

View source: R/do_PCA.R

Description

Principal Component Analysis via Singular Value Decomposition

Usage

1
2
do_PCA(x, center = TRUE, scale = FALSE, log_transform = FALSE,
  keep = NULL, robust = FALSE, delta = 1)

Arguments

x

matrix with variables in rows.

center

center data?

log_transform

log transform input data? Default FALSE.

keep

number of axes to keep (default NULL, keep all axes).

robust

use robust estimators of center and/or scale? (median and mad, respectively). Default FALSE.

delta

value to add to counts to avoid zero counts in log computation

level2

scale data?

Value

a list with two elements: pc (the singular vectors) and sv (the singular values)


leandroroser/RNASeqFunctions documentation built on May 17, 2019, 7:31 p.m.