monocle-release icon indicating copy to clipboard operation
monocle-release copied to clipboard

plot_pseudotime_heatmap color scheme

Open dwucsf opened this issue 5 years ago • 2 comments

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? Screen Shot 2019-04-22 at 1 43 50 PM

dwucsf avatar Apr 22 '19 20:04 dwucsf

the function blue2green2red

yoeHuuui avatar Jan 04 '23 14:01 yoeHuuui

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))

yoeHuuui avatar Jan 09 '23 07:01 yoeHuuui