DownloadableDataset¶
-
class
scvi.dataset.
DownloadableDataset
(urls=None, filenames=None, save_path='data/', delayed_populating=False)[source]¶ Bases:
scvi.dataset.dataset.GeneExpressionDataset
,abc.ABC
Sub-class of
GeneExpressionDataset
which downloads its data to disk and then populates its attributes with it.In particular, it has a
delayed_populating
parameter allowing for instantiation without populating the attributes.- Parameters
urls (
str
,Iterable
[str
],None
Union
[str
,Iterable
[str
],None
]) – single or multiple url.s from which to download the data.filenames (
str
,Iterable
[str
],None
Union
[str
,Iterable
[str
],None
]) – filenames for the downloaded data.delayed_populating (
bool
bool
) – If False, populate object upon instantiation. Else, allow for a delayed manual call topopulate
method.
Methods Summary
download
()populate
()Populates a
DonwloadableDataset
object’s data attributes.Methods Documentation