-
Notifications
You must be signed in to change notification settings - Fork 20
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 scale_color_gradient2()
#321
Comments
Hi @ShashTrip1 can you check if the 'ident' variable is a factor, character or numeric type. Pre-converting to character may help. |
I encountered the same problem. I group.by = "celltype", but it still gave me the same error, even I converted "celltype" to character. Did you solve it? |
Your code states that the |
I also met this problem when I run " plotDAbeeswarm": I check the 'ident' variable I used is a factor. |
Yes - you have NA values in your variables, as stated in the error traceback. |
Reran some old code I had (last ran 1 month aga without any errors) however today it threw an error. Code below:
I ran: plotDAbeeswarm(da_results, group.by = "ident")
And it gave the following error:
converting group.by to factor...
Error in
scale_color_gradient2()
:! Discrete values supplied to continuous scale.
The text was updated successfully, but these errors were encountered: