cole-trapnell-lab / monocle-release

276 stars 116 forks source link

plot_pseudotime_heatmap color scheme #308

Open dwucsf opened 5 years ago

dwucsf commented 5 years ago

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

yoeHuuui commented 1 year ago

the function blue2green2red

yoeHuuui commented 1 year ago

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