Closed srivarra closed 11 months ago
Another adjustment: when we import into illustrator, having an SVG of the colorbar is helpful for manipulating. Could you add the option to specify the extension (either .png or .pdf) of the cluster plots images?
If the supplied colormap has different elements than the cell table, the error message isn't very informative. We should probably add a verify_in_list or equivalent before constructing the colormap:
Is your feature request related to a problem? Please describe.
There are a few minor issues in the mass plotting notebook.
The mass plotting functionality needs the
dpi
and thefigsize
parameter forcohort_cluster_plot
andcolor_segmentation_by_stat
functions.There is also an issue where the user provided colormap file is mis-coloring the cluster names provided (i.e. the ordering / mapping is incorrect)
In addition, the interpolation should be set to
"none"
forplot_utils.color_segmentation_by_stat
.Incorrect colors are not reported to the user in
plot_utils.cohort_cluster_plot
.Add option to save the plot w or w/o colorbar as a
png
or apdf
.Describe the solution you'd like
Add the two parameters, look into the mis-coloring issue for color maps, set the interpolation to
"none"
, and report incorrect colors.Describe alternatives you've considered
N/A
Additional context
N/A