scvi.model.utils.get_minified_adata_scrna#

scvi.model.utils.get_minified_adata_scrna(adata_manager, keep_count_data=False)[source]#

Returns a minified AnnData.

Parameters:
adata_manager AnnDataManager

Manager with original AnnData, of which we want to create a minified version.

keep_count_data bool (default: False)

If True, the count data is kept in the minified data. If False, the count data is removed.

Return type:

AnnData