Export data in SingleCellExperiment object
exportSCE(
inSCE,
samplename = "sample",
directory = "./",
type = "Cells",
format = c("SCE", "AnnData", "FlatFile", "HTAN", "Seurat")
)
A SingleCellExperiment object that contains the data. QC metrics are stored in colData of the singleCellExperiment object.
Sample name. This will be used as name of subdirectories and the prefix of flat file output. Default is 'sample'.
Output directory. Default is './'.
Type of data. The type of data stored in SingleCellExperiment object. It can be 'Droplets'(raw droplets matrix) or 'Cells' (cells matrix).
The format of output. It currently supports flat files, rds files and python h5 files. It can output multiple formats. Default: c("SCE", "AnnData", "FlatFile", "HTAN").
Generates a file containing data from inSCE
, in specified format
.
data(scExample)
if (FALSE) {
exportSCE(sce, format = "SCE")
}