pca: PCA

Description Usage Arguments Value

Description

Normalizes a data matrix and then preformes quantile normalization using prcomp on the transform of the normalized data. The eigenvectors are returned in a list with the normalized data

Usage

1
pca(data, norm = "qn")

Arguments

data

The matrix to be analyzed

norm

The normalization method norm may either be a user provided function or one of the following

rowSumOne

all rows sum to 1

colSumOne

all columns sum to 1

normRow

all rows have mean 0 and sd 1

normCol

all cols have mean 0 and sd 1

rowsVarOne

all rows have sd 1

colsVarOne

all cols have sd 1

qn

quantile normalization

none

no normalization

Value

list($normData,$eigenVectors)


alexjgriffith/CCCA documentation built on May 10, 2019, 8:52 a.m.