sc_toolbox.plot.split_boxplot#

sc_toolbox.plot.split_boxplot(table, order, xlabel, ylabel, column=None, hue=None, cols=None, width=1, title=None, figsize=(15, 6), jitter=None, save=None)[source]#

Draws a boxsplit split by hue.

Parameters:
  • table – Table containing the data to draw the boxplots for

  • order – Order of the boxplot labels

  • xlabel (str) – x-axis label

  • ylabel (str) – y-axis label

  • column

  • hue – Value to split relative frequencies by

  • cols – List of colors to use for boxes

  • width (float) – Width of the desired plot

  • title – Title of the plot

  • figsize (Tuple[int, int]) – Size of the figure as specified in matplotlib

  • jitter – Set to True for individual dots per sample

  • save (Optional[str]) – Path to save the plot to

Return type:

None