BAITS.VDJ.pl._plot_xcr

Contents

BAITS.VDJ.pl._plot_xcr#

BAITS.VDJ.pl._plot_xcr(xcr_df, clone_col, loc_x_col, loc_y_col)#

Visualize spatial distribution of BCR/TCR clones.

Each clone is encoded with a unique color and plotted according to its spatial coordinates.

Parameters:
  • xcr_df (pandas.DataFrame) – DataFrame containing clone and spatial coordinate information.

  • clone_col (str) – Column specifying clone identity.

  • loc_x_key (str) – Column containing x-coordinate.

  • loc_y_key (str) – Column containing y-coordinate.

Returns:

Displays spatial scatter plot of clone locations.

Return type:

None