runPca.Rd
Takes the expression matrix of choice and passes it to
irlba::prcomp_irlba()
.
runPca(object, n_pcs = 30, mtr_name = NULL, ...)
runPca2(object, n_pcs = 30, mtr_name = NULL, ...)
A valid spata-object.
Numeric value. Denotes the number of principal components to be computed.
Character value. The name of the matrix of interest.
Additional arguments given to irlba::prcomp_irlba()
.
runPca()
: An updated spata-object containing the reduction variables in the pca data.frame.
runPca2()
: The direct output-object of irlba::prcomp_irlba()
.