Learn R Programming

cytofkit (version 1.4.8)

cytof_writeResults: Save the cytofkit analysis results

Description

Scatter dot plot and heatmap of the cluster results, and all intermediate files will be generated and saved in the resultDir

Usage

cytof_writeResults(analysis_results, projectName, resultDir, saveToFCS = TRUE, rawFCSdir = getwd())

Arguments

analysis_results
result data from output of cytofkit
projectName
a prefix that will be added to the names of result files.
resultDir
the directory where result files will be generated.
saveToFCS
save the results back to the FCS files, new FCS files will be generated.
rawFCSdir
the directory that contains fcs files to be analysed.

Value

save all results in the resultDir

See Also

cytofkit

Examples

Run this code
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)

Run the code above in your browser using DataLab