scvi.data.cellxgene

Contents

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 (str | None (default: None)) – manual override of the filename to write to.

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

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

Return type:

AnnData | str

Returns:

adata initialized with cellxgene data