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
AnnDataobject to which the image will be added.- platform
Literal['Merscope','Xenium'] (default:'Merscope') The platform from which the data originates.
- adata
- Return type:
AnnData- Returns:
adataupdated with a blank image and spatial data.