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 using FindMarkers #24

Closed
mplass opened this issue Oct 10, 2016 · 3 comments
Closed

Error using FindMarkers #24

mplass opened this issue Oct 10, 2016 · 3 comments

Comments

@mplass
Copy link

mplass commented Oct 10, 2016

Hi,
if I try to use the negative binomial test in the function FindAllMarkers it crashes.

Example:
all.markers <- FindAllMarkers(nbt, only.pos = TRUE, min.pct = 0.25, thresh.use = 0.25,test.use = "negbinom")
| | 0 % ~calculating Error in while ((it <- it + 1) < limit && abs(del) > eps) { :
missing value where TRUE/FALSE needed
In addition: Warning message:
In [<-.data.frame(*tmp*, , "GENE", value = list(plan2_AAGCAGATTAAA = 2, :
provided 9930 variables to replace 1 variables

Thanks,

@davidhbrann
Copy link

davidhbrann commented Oct 10, 2016

I also just got the same error when using either FindMarkers or FindMarkersNode with "negbinom":
"FindMarkers"
Error in while ((it <- it + 1) < limit && abs(del) > eps) { :
missing value where TRUE/FALSE needed
Calls: FindMarkers ... lapply -> FUN -> summary -> glm.nb -> as.vector -> theta.ml
In addition: Warning message:
In [<-.data.frame(*tmp*, , "GENE", value = list(DS11TCCTTATTTCAG = 6L, :
provided 6207 variables to replace 1 variables

@satijalab
Copy link
Collaborator

If you could provide some sample data that recreates this error or the object itself, that would be helpful. Can't seem to reproduce it on the datasets I have.

@andrewwbutler
Copy link
Collaborator

Resolved the bug. Reinstalling should allow you to run any of the marker detection functions with the "negbinom" test without problems.

dcollins15 added a commit that referenced this issue Mar 25, 2024
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

3 participants