Results Storage¶
Running artifacts¶
Keys of embedding results¶
The embedding results are stored in
adata.obsm['X_rep']
for thescModel
andcrossModel
objects.The embedding results with maunual annotation refinement are stored in
adata.obsm['X_anchord']
for thescModel
andcrossModel
objects.The embedding results with spatially smoothed are stored in
adata.obsm['X_smoothed']
for thestModel
objects.The embedding results without spatially smoothed are stored in
adata.obsm['X_unsmoothed']
for thestModel
objects (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 thestModel
andcrossModel
objects.The spatial sub-domain identification results are stored in
adata.obs['sub_domain']
for thestModel
andcrossModel
objects.
Keys of deconvolution results¶
The normalized (sum=1) deconvolution results are stored in
adata.obsm['deconv']
for thecrossModel
objects.The un-normalized deconvolution results are stored in
adata.obs['deconv_abundance']
for thecrossModel
objects.
Keys of batch-corrected and imputed gene expression profiles¶
The batch-corrected gene expression profiles are stored in
adata.layers['corrected_counts']
for thescModel
andcrossModel
objects.The imputed gene expression profiles are stored in
adata.layers['imputed_counts']
for thescModel
andcrossModel
objects.
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.