cellcharter.pl.boundaries

Contents

cellcharter.pl.boundaries#

cellcharter.pl.boundaries(adata, sample, library_key='sample', component_key='component', alpha_boundary=0.5, show_cells=True, save=None)#

Plot the boundaries of the clusters.

Parameters:
  • adata (AnnData) – Annotated data object.

  • sample (str) – Sample to plot.

  • library_key (str (default: 'sample')) – Key in anndata.AnnData.obs where the sample labels are stored.

  • component_key (str (default: 'component')) – Key in anndata.AnnData.obs where the component labels are stored.

  • alpha_boundary (float (default: 0.5)) – Transparency of the boundaries.

  • show_cells (bool (default: True)) – Whether to show the cells or not.

Return type:

None

Returns:

Nothing, just plots the figure and optionally saves the plot.