scvi.data.cortex

scvi.data.cortex(save_path='data/', run_setup_anndata=True)[source]

Loads cortex dataset.

The Mouse Cortex Cells dataset contains 3005 mouse cortex cells and gold-standard labels for seven distinct cell types. Each cell type corresponds to a cluster to recover.

Parameters
save_path : strstr (default: 'data/')

Location to use when saving/loading the data.

run_setup_anndata : boolbool (default: True)

If true, runs setup_anndata() on dataset before returning

Return type

AnnDataAnnData

Returns

AnnData with batch info (.obs['batch']) and label info (.obs['labels'])

Examples

>>> import scvi
>>> adata = scvi.data.cortex()