argument “colors” is missing, with no default

Error in colorRamp2(c(quantile(mean)[1], quantile(mean)[4], c(“white”, : argument “colors” is missing, with no default

0

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


scRNAseq


complexheatmap

• 56 views

Read more here: Source link