col_AveExpr <- colorRamp2(c(quantile(mean)[1], quantile(mean)[4], c("white", "black")))
Error in colorRamp2(c(quantile(mean)[1], quantile(mean)[4], c("white", : argument "colors" is missing, with no default
I am trying to make heatmap from sigs.df using complex heatmap, while making color code for average expression i am getting the above error.
The same code worked perfectly fine as;
col_logFC <- colorRamp2(c(min(l2_val),0, max(l2_val)), c("blue", "white", "black"))
I am following the sanbomics tutortial from youtube
please help
add data using dput(df) command where df is your dataframe
you mean like this;
it is still giving me same error it is asking about some argument colors, which i dont seem to find