Usage
cytof_exprsMerge(fcsFiles, comp = FALSE, markers = NULL, transformMethod = "cytofAsinh", scaleTo = NULL, mergeMethod = c("ceil", "all", "fixed", "min"), fixedNum = 10000, sampleSeed = 123, ...)
Arguments
fcsFiles
A vector of FCS file names.
comp
Either boolean value tells if do compensation (compensation matrix contained in FCS), or a compensation matrix to be applied.
markers
Selected markers for analysis, either marker names/descriptions or marker IDs.
transformMethod
Data Transformation method, including cytofAsinh
(suggest for CyTOF data), autoLgcl
(suggest for FCM data), logicle
and arcsinh
.
scaleTo
Scale the expression to a specified range c(a, b), default is NULL.
mergeMethod
Merge method for mutiple FCS expression data. cells can be combined using one of the four different methods including ceil
, all
, min
, fixed
. The default option is
ceil
, up to a fixed number (specified by fixedNum
) of cells are sampled without replacement from each fcs file and combined for analysis.
all
: all cells from each fcs file are combined for analysis.
min
: The minimum number of cells among all the selected fcs files are sampled from each fcs file and combined for analysis.
fixed
: a fixed num (specified by fixedNum) of cells are sampled (with replacement when the total number of cell is less than fixedNum) from each fcs file and combined for analysis.
fixedNum
The fixed number of cells to be extracted from each FCS file.
sampleSeed
A sampling seed for reproducible expression matrix merging.
...
Other arguments passed to cytof_exprsExtract