Description Usage Arguments Value
View source: R/trimFlowFrames.R
trim.fcs
uses mixture models to cluster bacteria from background debris and fits a linear model to SSC-H vs SSC-A to remove doublets.
1 2 3 4 5 6 7 8 9 10 11 |
dir_path |
a directory path containing the .fcs files to be parsed or folders to be recursed through. |
pattern |
a regex pattern to match particular .fcs files. Default is |
flu_channels |
a list of strings of the fluorescence channels to keep in the trimmed data and plotting. Defaults to "BL1-H". |
do_plot |
a Boolean flag to determine whether to produce plots showing the trimming of each flowFrame. Defaults to |
pre_cleaned |
have you pre removed background debris |
calibrate |
a Boolean flag to determine whether to convert fluorescence to MEF values. Requires an .fcs file with named |
MEF_peaks |
a list of lists in the form |
bead_dens_bw |
the bandwidth for the kernel density of the bead peak data. Default = 0.025. Increase if erroneous peaks are being found, decrease if not enough peaks are found. |
manual_peaks |
if bead peaks are not being found by the EM algorithm, one can manually specify the positions of the bead peaks (on a log10 scale). A list of lists in the form |
nothing is returned. A new folder is created with the trimmed .fcs files and plots if the do_plot flag is TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.