- adata :
AnnData Annotated data matrix.
- domain_key :
str The key to find the identified spatial domains in adata.obs.
- spatial_key :
str (default: 'spatial') The key to find the spatial corrdinates in adata.obsm.
- n_neighbors :
int (default: 6) Number of spatial neighbors to refine spatial domains.