Write a SingleCellExperiment into a folder: -

  • Feature-barcode-matrix files: -

    • 'barcodes.tsv.gz'

    • 'features.tsv.gz'

    • 'matrix.mtx.gz'

  • Metadata: -

    • sce_rowdata.tsv

    • sce_coldata.tsv

    • scecoldata_classes.tsv

  • reducedDim(sce, x) (if present): -

    • ReducedDim_x.tsv

write_sce(sce, folder_path, write_metadata = FALSE, overwrite = TRUE)

Arguments

sce

a SingleCellExperiment Object

folder_path

path to save the SingleCellExperiment

write_metadata

Enable writing metadata.

overwrite

delete the existing directory and overwrite if TRUE

See also