Hi, I'm sorry I have a question.
I try to color the Module score in the "plotcelltrajectory", here is the codes:
data <- AddModuleScore( object =data, features = angio_Features, ctrl = 5, name = 'angio_score', seed = 1 )
#add angio score on each sample
Then I create the monocle object "monocledata", Now I use plotcell_trajectory to check the angio score through pseudotime, the color bar is dark blue to light blue. I want to change the colour.
coul <- colorRampPalette(brewer.pal(8, "RdYlBu"))(25)
plot_cell_trajectory(
monocle_data, color_by = "angio_score1") + scale_color_manual(breaks = waiver(),values=coul)
Here is the error Error: Continuous value supplied to discrete scale
How can I do this? Thank you.