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

low-quality samples #5

Open
yulijia opened this issue Sep 19, 2024 · 0 comments
Open

low-quality samples #5

yulijia opened this issue Sep 19, 2024 · 0 comments

Comments

@yulijia
Copy link

yulijia commented Sep 19, 2024

Hi,
I am working with some low-quality samples, where each cell detects only about 10 genes with expression values. When I run the processingSPE function, it automatically calculates the UMAP using scater::runUMAP. However, I cannot adjust the parameters inside the runUMAP function, which causes an error message for my low-quality samples.

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.
11:30:15 UMAP embedding parameters a = 0.9922 b = 1.112
11:30:15 Read 3 rows and found 2 numeric columns
Error in uwot(X = X, n_neighbors = n_neighbors, n_components = n_components, :
n_neighbors must be smaller than the dataset size
In addition: Warning message:
In check_numbers(k = k, nu = nu, nv = nv, limit = min(dim(x)) - :
more singular values/vectors requested than available

Do you think we could modify the function to pass more parameters to the internal functions? Or should we establish a standard to determine if the input data is of low quality when running the processingSPE function and then return a message that we don't handle such low-quality samples?

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

1 participant