ece1f3d8 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sctkQCUtils.R
\name{exportSCE}
\alias{exportSCE}
\title{Export data in SingleCellExperiment object}
\usage{
exportSCE(
inSCE,
samplename = "sample",
directory = "./",
type = "Cells",
|
6e7955a8 |
format = c("SCE", "AnnData", "FlatFile", "HTAN", "Seurat")
|
ece1f3d8 |
)
}
\arguments{
|
31390a70 |
\item{inSCE}{A \link[SingleCellExperiment]{SingleCellExperiment} object
that contains the data. QC metrics are stored in colData of the
|
ece1f3d8 |
singleCellExperiment object.}
\item{samplename}{Sample name. This will be used as name of subdirectories
and the prefix of flat file output. Default is 'sample'.}
\item{directory}{Output directory. Default is './'.}
|
31390a70 |
\item{type}{Type of data. The type of data stored in SingleCellExperiment object.
|
ece1f3d8 |
It can be 'Droplets'(raw droplets matrix) or 'Cells' (cells matrix).}
\item{format}{The format of output. It currently supports flat files, rds files
|
0df1d56e |
and python h5 files. It can output multiple formats. Default: c("SCE", "AnnData", "FlatFile", "HTAN").}
|
ece1f3d8 |
}
|
ce30e109 |
\value{
|
63039a6a |
Generates a file containing data from \code{inSCE}, in specified \code{format}.
|
ce30e109 |
}
|
ece1f3d8 |
\description{
Export data in SingleCellExperiment object
}
|
3bcd1a4a |
\examples{
data(scExample)
\dontrun{
exportSCE(sce, format = "SCE")
}
}
|