View source: R/03_IFE_algorithm_functions.R
robustpca | R Documentation |
Contains call to MacroPCA()
robustpca(object, number_eigenvectors, KMAX = 20, verbose_robustpca = FALSE)
object |
input |
number_eigenvectors |
number of eigenvectors to extract |
KMAX |
The maximal number of principal components to compute. This is a parameter in cellWise::MacroPCA() |
verbose_robustpca |
when TRUE, it prints messages: used for testing (requires Matrix-package when set to TRUE) |
Notes:
Different values for kmax give different factors, but the product lambdafactor stays constant. Note that this number needs to be big enough, otherwise eigen() will be used. Variation in k does give different results for lambdafactor
MacroPCA() crashes with specific values of dim(object). For example when dim(object) = c(193,27). This is solved with evade_crashes_macropca(), for those problematic dimensions that are already encountered during tests.
list with as the first element the robust factors and as the second element the robust factor loadings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.