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 labelylabel (
str
) – y-axis labelcolumn –
hue – Value to split relative frequencies by
cols – List of colors to use for boxes
width (
float
) – Width of the desired plottitle – Title of the plot
figsize (
Tuple
[int
,int
]) – Size of the figure as specified in matplotlibjitter – Set to True for individual dots per sample
- Return type: