scvi.data.cellxgene#

scvi.data.cellxgene(url, filename=None, save_path='data/', return_path=False)[source]#

Loads a file from cellxgene portal.

Parameters:
  • url (str) – URL to cellxgene session

  • filename (Optional[str]) – manual override of the filename to write to.

  • save_path (str) – Location to use when saving/loading the data.

  • return_path (bool) – Whether to return the path to the downloaded file.

Returns:

adata initialized with cellxgene data

Return type:

Union[AnnData, str]