process_fcs: Process an .fcs files to remove debris and doublets

View source: R/flowCytometryFunctions.R

process_fcsR Documentation

Process an .fcs files to remove debris and doublets

Description

process_fcs uses mixture models to cluster bacteria from background debris and fits a linear model to SSC-H vs SSC-A to remove doublets.

Usage

process_fcs(fcs_file, flu_channels = c("BL1-H"), do_plot = F, pre_cleaned = F)

Arguments

fcs_file

path of an .fcs files to be processed.

flu_channels

a vector of strings of the fluorescence channels to keep in the processed 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 FALSE.

pre_cleaned

have you pre removed background debris.

Value

nothing is returned. A processed .fcs file is produced and a plot if do_plot = TRUE.


ucl-cssb/flopr documentation built on Jan. 27, 2024, 11:49 a.m.