Results Storage¶
Running artifacts¶
Keys of embedding results¶
The embedding results are stored in
adata.obsm['X_rep']for thescModelandcrossModelobjects.The embedding results with maunual annotation refinement are stored in
adata.obsm['X_anchord']for thescModelandcrossModelobjects.The embedding results with spatially smoothed are stored in
adata.obsm['X_smoothed']for thestModelobjects.The embedding results without spatially smoothed are stored in
adata.obsm['X_unsmoothed']for thestModelobjects (only when not running on e2e mode).
Keys of spatial domain identification results¶
The spatial domain identification results are stored in
adata.obs['domain']for thestModelandcrossModelobjects.The spatial sub-domain identification results are stored in
adata.obs['sub_domain']for thestModelandcrossModelobjects.
Keys of deconvolution results¶
The normalized (sum=1) deconvolution results are stored in
adata.obsm['deconv']for thecrossModelobjects.The un-normalized deconvolution results are stored in
adata.obs['deconv_abundance']for thecrossModelobjects.
Keys of batch-corrected and imputed gene expression profiles¶
The batch-corrected gene expression profiles are stored in
adata.layers['corrected_counts']for thescModelandcrossModelobjects.The imputed gene expression profiles are stored in
adata.layers['imputed_counts']for thescModelandcrossModelobjects.
Saving and loading artifacts¶
Saving artifacts¶
All the artifacts can be saved by the save method of the scModel, stModel, and crossModel objects. The saved artifacts include the adata object, the model weights, and the model configurations.
Loading artifacts¶
All the artifacts can be loaded by the load method of the scModel, stModel, and crossModel objects. The loaded artifacts include the adata object, the model weights, and the model configurations.