View source: R/reduction_funcs.R
fast_pca | R Documentation |
Generates the specified number of PCs using RSpectra.
fast_pca(dat.mat, num.pcs = 10)
dat.mat |
Matrix of data (features X samples). |
num.pcs |
Number of PCs to be generated. Default of 10. |
A list, with with pca matrix (x), a vector of feature sds (sdev), and the rotation matrix (rotation).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.