You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
don’t use named colors as a color palette (no red, green, …) but instead something like colorbrewer.
don’t use a color vector like this. instead, use a factor or integer vector like this:
cluster_labels<-# an integer of length n_cells
plot(dpt, col=cluster_labels, palette= brewer.pal(length(unique(cluster_labels)), 'Set1'))
# or this
palette(brewer.pal(9, 'Set1'))
plot(dpt, col=cluster_labels)
Hi
I am trying to add colors to dpt plot ( 6 colors ) but it is not showing those colors. It is taking some other colors. I am trying to use this command
But these colors are not reflected.
I will be grateful if you resolve this issue. Thank your for consideration
Regards
Smriti
The text was updated successfully, but these errors were encountered: