View source: R/04_export_data.R
sce2FCS | R Documentation |
Wrapper function that makes it easier to go from a SCE to flowSet and written FCS files. The function uses CATALYST::sce2fcs and flowCore::write.flowSet to store the FCS files.
sce2FCS(
sce,
outdir = NULL,
split_by = "sample_id",
assay = "counts",
keep_dr = TRUE,
keep_cd = TRUE,
randomize = FALSE
)
sce |
SingleCellExperiment to write to FCS files |
outdir |
If given, the flowSet will be stored in FCS files |
split_by |
NULL or a character string
specifying a |
assay |
a character string specifying
which assay data to use; valid values are |
keep_cd , keep_dr |
logials specifying whether cell metadata
(stored in |
randomize |
(Default: FALSE) Logical determining whether counts are randomized for plotting purposes or not. Only works when assay = "counts" (default). |
Other export:
df2SCE()
## Not run:
sce2FCS(sce, outdir = "fcs_files")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.