sakura.dataset.rna_count_sparse.SCRNASeqCountDataSparse.export_data
- SCRNASeqCountDataSparse.export_data(item, include_raw=True, include_proc=True, include_cell_key=True, include_item=True)
Export a batch of data based on the specified items and expression data flags.
- Parameters:
item (list or int) – The index to select data from the dataset
include_raw (bool, optional) – Whether to export the unprocessed, subset expression matrix and phenotype data frame, defaults to True
include_proc (bool, optional) – Whether to export the processed data (following procedures specified in the configs), defaults to True
include_cell_key (bool, optional) – Should the names/keys of the cells be exported
include_item (bool, optional) – Whether to export the input index of the selected data
- Returns:
A dictionary containing data of the specified item(s) from the dataset
- Return type: