Description Usage Arguments Value See Also Examples
View source: R/cytof_preProcess.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 |
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 |
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. |
sampleSeed |
A sampling seed for reproducible expression matrix merging. |
... |
Other arguments passed to |
A matrix containing the merged expression data, with selected markers, row names added as filename_cellID
, column mamed added as name<desc>
.
1 2 3 4 5 | d<-system.file('extdata',package='cytofkit')
fcsFiles <- list.files(d,pattern='.fcs$',full=TRUE)
parameters <- list.files(d, pattern='.txt$', full=TRUE)
markers <- as.character(read.table(parameters, sep = "\t", header = TRUE)[, 1])
merged <- cytof_exprsMerge(fcsFiles, markers = markers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.