SPACEL.Splane.base_model.SplaneModel.identify_spatial_domain

SplaneModel.identify_spatial_domain(key=None, colors=None)

Identify Spaital domains.

Identification of uniform spatial domains in multiple slics.

Parameters:
  • key – A column name to be saved in the .obs attribute of AnnData object of the ST data, representing the spatial domains. If not provided, the spatial domain will be saved as ‘spatial_domain’ in the .obs attribute.

  • colors – A list of colors assigned to each spatial domain.

Returns:

None