
Helper function to generate default parameters for PCA
params_pca_defaults.RdHelper function to generate default parameters for PCA
Value
A named list with the following elements:
no_pcs - Integer. Number of PCs to consider. Defaults to
30L.svd_solver - String. Which solver to use.
"randomised"(default) is a randomised SVD, approximate in the trailing components."covariance"builds the gene x gene cross-product and eigendecomposes it."auto"takes Lanczos on the sparse path and"covariance"on the dense one."exact"is Lanczos on the sparse path and a full SVD on the dense one. Seeparams_sc_pca()for the trade-offs. One ofc("randomised", "auto", "covariance", "exact"). Defaults to"randomised".