scvi.external.SpatialStereoscope.get_proportions

SpatialStereoscope.get_proportions(keep_noise=False)[source]

Returns the estimated cell type proportion for the spatial data.

Shape is n_cells x n_labels OR n_cells x (n_labels + 1) if keep_noise

Parameters
keep_noise

whether to account for the noise term as a standalone cell type in the proportion estimate.

Return type

DataFrameDataFrame