anndict.utils.add_blank_image_to_adata

anndict.utils.add_blank_image_to_adata#

anndict.utils.add_blank_image_to_adata(adata, platform='Merscope')[source]#

Adds a dummy image to the AnnData object based on the platform specifications.

Parameters:
adata AnnData

The AnnData object to which the image will be added.

platform Literal['Merscope', 'Xenium'] (default: 'Merscope')

The platform from which the data originates.

Return type:

AnnData

Returns:

adata updated with a blank image and spatial data.