But before that, why are you trying to set color using a continuous value? Shouldn't you bin the p-value then set a color based on, say, if the pvalue < 0.05 or >=0.05?
- class(test12$GO) = character
- class(test12$Condition) = character
- unique(test12$Condition) = "+" "-"
I am so sorry but I am not sure what you mean by continuous value and bin the p-value, also, results are taken from DAVID I guess so only p-value of <0.05 are exported
Oh heya,
So I copy pasted necessary things in a new excel, loaded it and checked the class of pvalue (it's numeric) and still getting the same error of supplying discrete value to continuous scale :(
I have no clue how, but I tried using your code, and it somehow worked!!! Thanks a lot.
I tried it with another datasheet too and it is working, I Can't thank you enough
It should be fun trying to figure out why your initial code/dataset did not work. I've moved my comment to an answer - please accept it to resolve the post.
What is the output to:
But before that, why are you trying to set
color
using a continuous value? Shouldn't you bin the p-value then set a color based on, say, if the pvalue < 0.05 or >=0.05?oh hey, they are as follow:
I am so sorry but I am not sure what you mean by continuous value and bin the p-value, also, results are taken from DAVID I guess so only p-value of <0.05 are exported