runPca | R Documentation |
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, ...)
object |
A valid spata-object. |
n_pcs |
Numeric value. Denotes the number of principal components to be computed. |
mtr_name |
Character value. The name of the matrix of interest. |
... |
Additional arguments given to |
runPca()
: An updated spata-object containing the reduction variables in the pca data.frame.
runPca2()
: The direct output-object of irlba::prcomp_irlba()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.