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

Error in quantile.default(x, seq(from = 0, to = 1, length = n)) : #6

Closed
naity opened this issue Apr 30, 2020 · 3 comments
Closed

Error in quantile.default(x, seq(from = 0, to = 1, length = n)) : #6

naity opened this issue Apr 30, 2020 · 3 comments

Comments

@naity
Copy link

naity commented Apr 30, 2020

The following error was encountered while running DSBNormalizeProtein:

Error in quantile.default(x, seq(from = 0, to = 1, length = n)) :
missing values and NaN's not allowed if 'na.rm' is FALSE

Thank you!

@MattPM
Copy link
Collaborator

MattPM commented May 1, 2020

Hi, @naity, it is tough to know where the error might be coming from without a reprex, knowing what you have already tried to troubleshoot the issue and the function call that produced the error. Do you have a traceback() or a sessionInfo() call? Are there NA's in the matrix you're using? Maybe remove those first, but without more info not sure exactly where to start. Happy to help though.

@MattPM
Copy link
Collaborator

MattPM commented May 8, 2020

update: @naity this error occurs during denoising, when you have antibodies in the cells (not the empty drops) that have close to zero counts across all cells. I am assuming you used denoise.counts = TRUE Please try checking the distributions of your staining antibodies - for example run apply(cells_protein_matrix, 1, quantile) or apply(cells_protein_matrix, 1, mean) and check if you have a protein with basically no counts, try removing it and renormalizing(recommended) or set denoise.counts = FALSE

@MattPM MattPM closed this as completed May 8, 2020
@MattPM MattPM reopened this May 8, 2020
@MattPM MattPM closed this as completed May 11, 2020
@naity
Copy link
Author

naity commented May 22, 2020

Thank you for the explanation!

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