R/exportSCEtoTXT.R
exportSCEtoFlatFile.Rd
Writes all assays, colData, rowData, reducedDims, and altExps objects in a SingleCellExperiment to text files. The items in the 'metadata' slot remain stored in list and are saved in an RDS file.
exportSCEtoFlatFile(
sce,
outputDir = "./",
overwrite = TRUE,
gzipped = TRUE,
prefix = "SCE"
)
SingleCellExperiment object to be exported.
Name of the directory to store the exported file(s).
Boolean. Whether to overwrite the output files. Default
TRUE
.
Boolean. TRUE
if the output files are to be
gzip compressed. FALSE
otherwise. Default
TRUE
.
Prefix of file names.
Generates text files containing data from inSCE
.
data(sce_chcl, package = "scds")
if (FALSE) {
exportSCEtoFlatFile(sce_chcl, "sce_chcl")
}