Description Usage Arguments Value Author(s) See Also Examples
A wrapper function for prcomp
to deliver the result as a
pcaRes
method. Supplied for compatibility with the rest
of the pcaMethods package. It is not recommended to use this
function directely but rather to use the pca()
wrapper
function.
1 | svdPca(Matrix, nPcs = 2, varLimit = 1, verbose = interactive(), ...)
|
Matrix |
Pre-processed (centered and possibly scaled) numerical matrix samples in rows and variables as columns. No missing values allowed. |
nPcs |
Number of components that should be extracted. |
varLimit |
Optionally the ratio of variance that should be
explained. |
verbose |
Verbose complaints to matrix structure |
... |
Only used for passing through arguments. |
A pcaRes
object.
Henning Redestig
1 2 3 4 5 | data(metaboliteDataComplete)
mat <- prep(t(metaboliteDataComplete))
pc <- svdPca(mat, nPcs=2)
## better use pca()
pc <- pca(t(metaboliteDataComplete), method="svd", nPcs=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.