monocle-release
monocle-release copied to clipboard
plot_pseudotime_heatmap color scheme
I'm trying to change the default heatmap coloring scheme of monocle 3's plot_pseudotime_heatmap to that of Monocle 2's coloring scheme (see image). Does anyone know the default coloring scheme code that was used for Monocle 2's plot_pseudotime_heatmap function?
the function blue2green2red
And hmocols can change the coloring scheme, like this
plot_pseudotime_heatmap(cds, num_clusters = 2, return_heatmap = T,
hmcols = colorRampPalette(colors = c("blue", "white", "red"))(62))