ggml_ot.data.load_cellxgene#
- ggml_ot.data.load_cellxgene(dataset_id, url='https://datasets.cellxgene.cziscience.com', path=None, load=True)[source]#
Loads and caches Anndata object from CELLxGENE.
- Parameters:
- dataset_id str
the filename of the dataset to download
- url str, optional
base URL of the CELLxGENE dataset repository, defaults to “https://datasets.cellxgene.cziscience.com”
- path PosixPath, str, optional
local path for storing and loading datasets, defaults to None
- load bool, optional
whether to load and return the Anndata object, defaults to True
- Returns:
Anndata object if load=True
- Return type:
Anndata, optional