write_sce_to_fcs: Export an SCE to.fcs format

Description Usage Arguments Value Author(s) Examples

View source: R/write_sce_to_fcs.R

Description

Takes as input a SingleCellExperiment object and writes the data contained into an .fcs file

Usage

1
2
3
4
5
6
write_sce_to_fcs(
  sce,
  filename = "export.fcs",
  clustering = NULL,
  reduced_dim = NULL
)

Arguments

sce

a SingleCellExperiment.

filename

the .fcs file name to export, default is export.fcs

clustering

optional metadata clustering (or other) slots to export as parameters in the .fcs file

reduced_dim

optional dimensionality reduction coordinates to export as a parameters in the .fcs file

Value

a .fcs file

Author(s)

James Opzoomer james.opzoomer@kcl.ac.uk

Examples

1
2
3
4
5
# Download complete ImmunoCluster SCE object from zenodo
sce_gvhd = readRDS(url("https://zenodo.org/record/3801882/files/sce_gvhd.rds"))

# write sct to fcs
write_sce_to_fcs(sce_gvhd, filename = "export.fcs")

kordastilab/ImmunoCluster documentation built on May 10, 2021, 7:41 a.m.