mR_pca.Rd
This function allows to perform PCA.
mR_pca(
mRList = NULL,
dirout = NULL,
col_by = "class",
method = "svd",
scaling = c("none", "pareto", "vector", "uv"),
center = TRUE,
include_QC = TRUE,
top = Inf,
nPcs = 2,
...
)
mRList object
output directory
(default class)
see pcaMethods::pca()
see pcaMethods::prep()
whether to center the data or not
(default TRUE)
only the top most varying features will be used
number of principal components
further argments to pcaMethods::pca()
mRList object with "pca" element. Images of screeplot and pairs, table of score,loading and variance can be saved if write_output=TRUE.