BAITS.VDJ.pl._boxplot

Contents

BAITS.VDJ.pl._boxplot#

BAITS.VDJ.pl._boxplot(df, x, y, groupby=None, palette='Set2', xlabel=None, ylabel=None, log=False, ax=None)#

Generate a boxplot for distribution visualization.

Parameters:
  • df (pandas.DataFrame) – Input dataframe.

  • x (str) – Column used for x-axis categories.

  • y (str) – Column used for y-axis values.

  • groupby (str, optional) – Column used for hue grouping.

  • palette (str, default="Set2") – Color palette.

  • xlabel (str, optional) – Label for x-axis.

  • ylabel (str, optional) – Label for y-axis.

  • log (bool, default=False) – Whether to apply log transformation to y-axis.

  • ax (matplotlib.axes.Axes, optional) – Axes object to draw the plot.

Returns:

Displays the boxplot.

Return type:

None