Description Usage Arguments Value Author(s) References See Also Examples
View source: R/preprocessing.R
Apply preprocessing on each FCS file including compensation
(for FCM data only) and transformation with selected markers, then expression
matrix are extracted and merged using one of the methods, all
,
min
, fixed
or ceil
1 2 3 4 5 6 7 8 9 |
fcsFiles |
A vector of FCS file names. |
comp |
If |
transformMethod |
Data Transformation method, including |
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 |
fixedNum |
The fixed number of cells to be extracted from each FCS file. |
... |
Other arguments passed to |
A matrix containing the merged expression data, with selected markers.
Chen Hao
Hao Chen, Mai Chan Lau, Michael Thomas Wong, Evan W. Newell, Michael Poidinger, Jinmiao Chen. Cytofkit: A Bioconductor Package for an Integrated Mass Cytometry Data Analysis Pipeline. PLoS Comput Biol, 2016.
1 2 3 4 5 6 7 8 9 10 11 12 | if (FALSE) {
# See vignette tutorials for more information
vignette("Quick_start", package = "flowSpy")
# Path to your FCS files
fcs.path <- "flowSpy-dataset/FCS/usecase2/"
fcs.files <- paste0(fcs.path, "D", c(0,2,4,6,8,10), "-sub.fcs")
# Merge FCS files, and each file contain 2000 cells
set.seed(1)
fcs.data <- runExprsMerge(fcs.files, comp = F, transformMethod = "none", fixedNum = 2000)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.