gedi2py.plotting.pca

gedi2py.plotting.pca(adata, *, color=None, components=(1, 2), key='gedi', **kwargs)[source]

Plot GEDI PCA embedding.

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

  • color (Union[str, Sequence[str], None], default: None) – Key(s) for annotation to color by.

  • components (tuple[int, int], default: (1, 2)) – Which principal components to plot (1-indexed).

  • key (str, default: 'gedi') – Key prefix for GEDI results.

  • **kwargs – Additional arguments passed to embedding().

Return type:

Figure | Axes | list[Axes] | None

:param See embedding() for full parameter documentation.: