Description Usage Arguments Value See Also Examples
View source: R/cytof_postProcess.R
Save analysis results from cytofkit main function to RData, csv files and PDF files and add them to a new copy of FCS files.
1 2 3 | cytof_writeResults(analysis_results, projectName, saveToRData = TRUE,
saveToFCS = TRUE, saveToFiles = TRUE, resultDir, rawFCSdir,
inverseLgclTrans = TRUE)
|
analysis_results |
result data from output of |
projectName |
a prefix that will be added to the names of result files. |
saveToRData |
boolean value determines if save the results object into RData file, for loading back to R and to shiny APP. |
saveToFCS |
boolean value determines if save the results back to the FCS files, new FCS files will be generated under folder XXX_analyzedFCS. |
saveToFiles |
boolean value determines if parse the results and automatically save to csv files and pdf figures. |
resultDir |
the directory where result files will be generated. |
rawFCSdir |
the directory that contains fcs files to be analysed. |
inverseLgclTrans |
boolean if inverse logicle transform the cluster cor1 and cor2 channels. |
save all results in the resultDir
1 2 3 4 5 | d <- system.file('extdata',package='cytofkit')
f <- list.files(d, pattern='.fcs$', full=TRUE)
p <- list.files(d, pattern='.txt$', full=TRUE)
#tr <- cytofkit(fcsFile=f,markers=p,projectName='t',saveResults=FALSE)
#cytof_write_results(tr,projectName = 'test',resultDir=d,rawFCSdir =d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.