Helper function for adding labels to subsets within a heatmap.
Assumes that imshow() was called with subsets and subset_order.
ax : matplotlib.Axes
The axes to label. Generally you can use fig.array_axes attribute of the Figure object returned by metaseq.plotutils.imshow.
subset_by, subset_order : array, list
See metaseq.plotutils.imshow() docstring; these should be the same subsets and subset_order that were provided to that function.
metaseq.plotutils.imshow
metaseq.plotutils.clustered_sortind
Enter search terms or a module, class or function name.