R/ingest_data.R
ingest_data.Rd
Automatically infers data format of scRNAseq object, or a path to that object. It then uses the appropriate functions to import that data and convert it to a SingleCellExperiment, which is recognized by other EWCE functions.
ingest_data( obj, input_type = "guess", output_type = "SingleCellExperiment", custom_reader = NULL, save_dir = tempdir(), filename = "scKirby_output", save_output = T, overwrite = F, return_filepath = F, verbose = T, ... )
obj | Single-cell data object or path to saved single-cell data. |
---|---|
input_type | Format of |
output_type | Format to convert |
custom_reader | Custom function to read |
save_dir | Directory to save the converted |
filename | Name to save the converted |
save_output | Whether or not to save the converted |
overwrite | If a file of the same name exists, overwrite it. |
return_filepath | If |
... | Additional arguments to be passed to |
SeuratDisk anndata (R) anndata (python) loomR SingleCellExperiment DelayedArray workshop zellkonverter