spatialvi.model.base.ResolVIPredictiveMixin

spatialvi.model.base.ResolVIPredictiveMixin#

class spatialvi.model.base.ResolVIPredictiveMixin[source]#

Mixin class for generating samples from posterior distribution using infer.predictive.

__init__()#

Methods

__init__()

get_latent_representation([adata, indices, ...])

Return the latent representation for each cell.

get_neighbor_abundance([adata, indices, ...])

Returns the abundance of cell-types within spatial proximity of center cells.

get_normalized_expression([adata, indices, ...])

Returns the normalized (decoded) gene expression.

get_normalized_expression_importance([...])

Returns the normalized (decoded) importance-sampled gene expression.