popari.pl.all_embeddings#
- popari.pl.all_embeddings(trained_model, embedding_key='X', column_names=None, level=0, **spatial_kwargs)[source]#
Plot all learned metagenes in-situ across all replicates.
Each replicate’s metagenes are contained in a separate plot.
- Parameters:
trained_model (Popari) – the trained Popari model.
embedding_key (str) – the key in the
.obsmdataframe for the cell/spot embeddings.column_names (str | None) – a list of the suffixes for each latent feature. If
None, it is assumed that these suffixes are just the indices of the latent features.