You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error when calling dataset <- add_dimred(dataset, dyndimred::dimred_umap, pca_components=NULL)
My dataset is 70.000 x 23 and I want to perform UMAP. However, when running UMAP it first runs PCA with a default number of components of 50. As I only have 23 features I get the error: Error in (function (A, nv = 5, nu = nv, maxit = 1000, work = nv + 7, reorth = TRUE, : max(nu, nv) must be strictly less than min(nrow(A), ncol(A))
I tried setting the pca_components to other values or to NULL (as the function dimred checks if pca_components !is.null(pca_components) before running PCA. However, the given argument pca_components is never included when internally calling dimred(expression)