omicverse.datasets.download_data

omicverse.datasets.download_data#

omicverse.datasets.download_data(url, file_path=None, dir='./data')[源代码]#

Download a dataset file to local storage.

参数:
  • url (str) – Source URL of the dataset file.

  • file_path (Optional[str]) – Target filename. If None, the basename of url is used.

  • dir (str) – Output directory where file is stored.

返回:

Absolute/relative local path of downloaded file.

返回类型:

str