- static SpatialStereoscope.setup_anndata(adata, layer=None, copy=False)¶
Sets up the
AnnDataobject for this model. A mapping will be created between data fields used by this model to their respective locations in adata.
None of the data in adata are modified. Only adds fields to adata.
- Return type
copy, will return
AnnData. Adds the following fields to adata:
scvi setup dictionary
labels encoded as integers
batch encoded as integers