sfaira.data.StoresDao¶
- class sfaira.data.StoresDao(cache_path: Union[str, os.PathLike, List[str], List[os.PathLike]], columns: Optional[List[str]] = None)¶
Attributes
Dictionary of all anndata instances for each selected data set in store, sub-setted by selected cells, for each stores.
Memory foot-print of data set k in MB.
Data matrix for each selected data set in store, sub-setted by selected cells.
Dictionary of indices of selected observations contained in all stores.
Dictionary of number of observations across stores.
Dictionary of number of observations by store.
Dictionary of number of features by store.
Dictionary of all anndata instances for each selected data set in store, sub-setted by selected cells, for each stores.
Dictionary of full selected data matrix shape by store.
Only expose stores that contain observations.
Dictionary of variable names by store.
Methods
checkout
([idx, intercalated])Carts per store.
load_config
(fn)Load a config file and recreates a data sub-setting.
subset
(attr_key[, values, excluded_values, ...])Subset list of adata objects based on cell-wise properties.
write_config
(fn)Writes a config file that describes the current data sub-setting.