Closed andrewjkwok closed 2 years ago
Hi @andrewjkwok
I updated cellorale now. In the current version, celloracle=0.10.11, we can update cluster color palette as follows.
oracle.update_cluster_colors(palette=sns.color_palette("husl", 24))
1) Before changing color.
2) Change color. After running update_cluster_colors function, new color information is used.
I hope it helps.
Kenji
Yes, this helps a lot, thank you!!
Hi,
Wanted to quickly ask - is it possible to pass custom colors for my cell clusters (or some categorical variable) for the
oracle.plot_cluster_whole
function after in silico GRN perturbation?I've tried passing a
palette
argument as I would in scanpy but that doesn't seem to work, and I can't find within the API documentation what kind of options I might have for theoracle.plot_cluster_whole
function.Many thanks in advance, Andrew