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 inanndata.AnnData.obswhere the sample labels are stored.component_key (
str(default:'component')) – Key inanndata.AnnData.obswhere 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:
- Returns:
Nothing, just plots the figure and optionally saves the plot.