plot_umap

ModelComparator.plot_umap(exp_names=None, channels=None, save_prefix='')[source]

Plot UMAP representation for every experiment.

Plots conditions, clustering and optionally defined channels. Saves plot in ModelComparator.save_dir.

Parameters
  • exp_names (Optional[Iterable[str]]) – Experiments for which to plot a UMAP.

  • channels (Optional[List[str]]) – Channels that should be visualised.

  • save_prefix (str) – Plot is saved under {save_prefix}umap_{exp_name}.png.

Return type

Nothing, plots and saves UMAP