Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more singular values/vectors requested than available #40

Open
sailseem opened this issue Dec 19, 2022 · 1 comment
Open

more singular values/vectors requested than available #40

sailseem opened this issue Dec 19, 2022 · 1 comment

Comments

@sailseem
Copy link

Dear Developer,

I wanna ask about an error occurred when I run the fastMNN

out <- fastMNN(sce, batch = sce$Batch,

  •            auto.merge = TRUE,
    
  •            subset.row = rowData(sce)$use_channel,
    
  •            assay.type = "exprs")
    

Warning in (function (A, nv = 5, nu = nv, maxit = 1000, work = nv + 7, reorth = TRUE, :
You're computing too large a percentage of total singular values, use a standard svd instead.
Warning message:
In check_numbers(k = k, nu = nu, nv = nv, limit = min(dim(x)) - :
more singular values/vectors requested than available

Can you help me figure that out?
Thanks in advance!

@LTLA
Copy link
Owner

LTLA commented Dec 20, 2022

Looks like it's just a warning. By default, fastMNN() computes 50 PCs, but you have fewer than 50 features, so it can't actually compute 50 PCs. IIRC it just falls back to computing however many PCs it can, so you can just keep on going with your analysis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants