sakura.dataset.rna_count.SCRNASeqCountData.export_data
- SCRNASeqCountData.export_data(item, include_raw=True, include_proc=True, include_cell_key=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
- Returns:
A dictionary containing data of the specified items from the dataset
- Return type: