scrnaseq icon indicating copy to clipboard operation
scrnaseq copied to clipboard

Error in GenerateColours

Open semenko opened this issue 2 years ago • 5 comments

When processing 11 samples, I get this error:

image

Error in GenerateColours(num_colours = length(sample_names), names = sample_names,  : 
  GenerateColours: Cannot generate the requested number of colours. Please change palette or add alpha values.

Called on this line: https://github.com/ktrns/scrnaseq/blob/0376bc233d64667cad46d33c2149a6440b1d4909/scrnaseq.Rmd#L539

I've temporarily worked around this by setting alphas=c(1,0.2).

semenko avatar Jan 10 '22 18:01 semenko