scvi.model.DestVI.get_scale_for_ct

DestVI.get_scale_for_ct(label, indices=None, batch_size=None)[source]

Return the scaled parameter of the NB for every spot in queried cell types.

Parameters
label : strstr

cell type of interest

indices : Sequence[int] | NoneOptional[Sequence[int]] (default: None)

Indices of cells in self.adata to use. If None, all cells are used.

batch_size : int | NoneOptional[int] (default: None)

Minibatch size for data loading into model. Defaults to scvi.settings.batch_size.

Return type

DataFrameDataFrame

Returns

Pandas dataframe of gene_expression