voyagerpy.plotting.plot_local_result#
- voyagerpy.plotting.plot_local_result(adata: AnnData, obsm: str, features: str | Sequence[str], **kwargs) ndarray[Any, dtype[Axes]]#
Plot local results from the adata.obsm.
- Parameters:
adata (AnnData) – The annotated data matrix.
obsm (str) – The obsm key to use.
features (Union[str, Sequence[str]]) – The features to plot.
**kwargs – Keyword arguments to pass to
plot_spatial_feature().
- Returns:
The axes used for plotting.
- Return type:
npt.NDArray[Axes]
- Raises:
KeyError – If
obsmis not found inadata.obsm.
See also
:py:func:plot_spatial_feature